A framework for quantum computing with hardware acceleration.
Project description
Qibo is a Python library for classical simulation of quantum algorithms.
Some of the key features of Qibo are:
- A standard interface for the implementation and extension of quantum algorithms.
- Modular implementation on GPU and CPU with multi-threading support.
- Availability of multi-GPU distributed approach for circuit simulation.
- Full support of double precision simulation.
Documentation
Qibo documentation is available at qibo.readthedocs.io.
Minimum Working Examples
A simple Quantum Fourier Transform (QFT) example to test your installation:
from qibo.models import QFT
# Create a QFT circuit with 15 qubits
circuit = QFT(15)
# Simulate final state wavefunction default initial state is |00>
final_state = circuit()
Here another example with more gates and shots simulation:
import numpy as np
from qibo.models import Circuit
from qibo import gates
c = Circuit(2)
c.add(gates.X(0))
# Add a measurement register on both qubits
c.add(gates.M(0, 1))
# Execute the circuit with the default initial state |00>.
result = c(nshots=100)
In both cases, the simulation will run in a single device CPU or GPU in double precision complex128
.
Citation policy
If you use the package please cite the following references:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
qibo-0.1.5-cp38-cp38-win_amd64.whl
(214.5 kB
view hashes)
qibo-0.1.5-cp37-cp37m-win_amd64.whl
(214.5 kB
view hashes)
qibo-0.1.5-cp36-cp36m-win_amd64.whl
(214.5 kB
view hashes)
Close
Hashes for qibo-0.1.5-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79841d4d7b8e5f64c8db89f3b72bd7ed26cb3fee93f9868db867e7220df6778e |
|
MD5 | eecf181694e57942afecf2b7cd14ccba |
|
BLAKE2b-256 | f8063181ad75e418c6aad3dc6c801c8cbc84c71e19672fbdf8900f05e31e0720 |
Close
Hashes for qibo-0.1.5-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d17c0c93cffe4c666fe44fc5547d768b0083a4c6444bcaa0680155e42323675 |
|
MD5 | 2cac1d40a9672f7478b2b37fcc4f83af |
|
BLAKE2b-256 | 966af41c2a795061fa491c0547d9c6d8fd2cb5fd1db5ccf4f2a110748503d3ee |
Close
Hashes for qibo-0.1.5-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d97afd1838ad722256bd846be9c5e0e34514c035afd84aa6882ab0408370732e |
|
MD5 | defe42da3cc459feb97c6d7f338472ae |
|
BLAKE2b-256 | 172c19e0780d0525595f35d4ae35d14cdf449859c0c7787f4d8e6209d5782189 |
Close
Hashes for qibo-0.1.5-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e66da5b7f7bce245b7299a29d7bad50095439baf9c436db16561d3e7fa3a416 |
|
MD5 | 7726d98ae6854b69b6a196f8ec5b8e9a |
|
BLAKE2b-256 | b7fea37a80dacf57899fb3ff7ea4d98f290a0e1cccf9a19646e4adc1cf28cfbe |
Close
Hashes for qibo-0.1.5-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04fc166a0e77021785543b033916023251a250017b6a1b3a6bc248dce350de19 |
|
MD5 | 41740e0c23045f89dcf65f212afcdfe1 |
|
BLAKE2b-256 | aa56f01936980a8e1cb1ec5297e46a26b0c41cb9fb52974f4e338fa0b1c1f2af |
Close
Hashes for qibo-0.1.5-cp37-cp37m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff8bfedc5becc2355797f96880c302b8c40a6482f21e8c7dcfcafd1787f6adf0 |
|
MD5 | 7a6ce33986c53485ddbaeee7bbab7d1b |
|
BLAKE2b-256 | 97500926d50bdbaf465941f2e45738e2906f4811cd98eaf72f9bad68f27ebc4b |
Close
Hashes for qibo-0.1.5-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0624cd5e761bb578bc7eb7e175d0dedaaade45695f748e3e4ff409da4539def |
|
MD5 | 2ac7f37e80c7f8e72d8102c48fea89c7 |
|
BLAKE2b-256 | 1516e6a5a28640a74d299016f477aae8e773f681f6ee96942fe46ce0e966b206 |
Close
Hashes for qibo-0.1.5-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a681ab82949494ae235f1e143e896cc728c5abee9d832704d09036d00c0810ea |
|
MD5 | 50d78134addca9fa4d07ebea5f5d2779 |
|
BLAKE2b-256 | 4025431f30910cb77d8faba9a52fea9d1a1b8903571dea585f14ace4c9cb4b55 |
Close
Hashes for qibo-0.1.5-cp36-cp36m-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea3feafe9226c3d60c3bf92eae8a022492dad6dadde864f67aa66ff7d7ac30a6 |
|
MD5 | 59cc4cc0dd6e92eb76c7bef72ba7f708 |
|
BLAKE2b-256 | 8190817625e60ed02c6c9986423acf342f2b83fd5dd76a8d2aa3c1b47edb0e97 |