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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qibo-0.1.2-cp38-cp38-manylinux2010_x86_64.whl.
File metadata
- Download URL: qibo-0.1.2-cp38-cp38-manylinux2010_x86_64.whl
- Upload date:
- Size: 536.9 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41a051a4c04b7b32a833c82e8d6d616a09efae369a17cf815c19f6bae0a0316b
|
|
| MD5 |
e3a9de9a587aa4bc4018fdb95248e3b7
|
|
| BLAKE2b-256 |
b99f5845122eb9e5cc269e100cab1405a159f333eab707b8bfaf9b2f9b53916d
|
File details
Details for the file qibo-0.1.2-cp38-cp38-macosx_10_15_x86_64.whl.
File metadata
- Download URL: qibo-0.1.2-cp38-cp38-macosx_10_15_x86_64.whl
- Upload date:
- Size: 424.1 kB
- Tags: CPython 3.8, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3806b483b4afd773e05b91988343365a99b6c15544ef7cac69ad9bdecfb1ff61
|
|
| MD5 |
b566c6bf9675c44fbd69cc21679acc37
|
|
| BLAKE2b-256 |
b39de8b9e032d1adbc075597f5a5c4bfae5645202466596ebcf097d10fca4a36
|
File details
Details for the file qibo-0.1.2-cp37-cp37m-manylinux2010_x86_64.whl.
File metadata
- Download URL: qibo-0.1.2-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 536.9 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4b16b27879bdb86085305b2c07036b02fa61cb14a38de3b69a1c489d86fd95e
|
|
| MD5 |
02516940becb78028a9c693dc2f06ec7
|
|
| BLAKE2b-256 |
8dc4d044f0fb8096db77203aa7559ce2a5bdb40115b1d6e4c17d1543aa0424e6
|
File details
Details for the file qibo-0.1.2-cp37-cp37m-macosx_10_15_x86_64.whl.
File metadata
- Download URL: qibo-0.1.2-cp37-cp37m-macosx_10_15_x86_64.whl
- Upload date:
- Size: 424.1 kB
- Tags: CPython 3.7m, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab74e7421985691a4ca0cd11fe8acf5bd28791149282b8d50155f05cb816ea2d
|
|
| MD5 |
f56fcd171053414a4b8094262ab84047
|
|
| BLAKE2b-256 |
fd6d49435d2e9e10bc1427efcf0962b0e2ede6f9ab13b051d176d78c2cb5ea78
|
File details
Details for the file qibo-0.1.2-cp36-cp36m-manylinux2010_x86_64.whl.
File metadata
- Download URL: qibo-0.1.2-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 536.9 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b34bd68fbf3db5d1bff7524a6c73a61433689aa1df1b7626e67d441640908cf7
|
|
| MD5 |
06141277fa9881b6d6e1baef1487340c
|
|
| BLAKE2b-256 |
d1b7a4bffb59828294404cea7dc4898c798c3b940cf8834438becd5dd3db5428
|
File details
Details for the file qibo-0.1.2-cp36-cp36m-macosx_10_15_x86_64.whl.
File metadata
- Download URL: qibo-0.1.2-cp36-cp36m-macosx_10_15_x86_64.whl
- Upload date:
- Size: 424.1 kB
- Tags: CPython 3.6m, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1aded3aafdf061370965fb1fe2d6fb6c807d9fcf02b82e2c07dac5446a9b128
|
|
| MD5 |
79a84ee3c68c29925dd92d3a37db6f5b
|
|
| BLAKE2b-256 |
648395f16fc9e228b753e18a408a7f8616a81b63275528782d5e51bab3639dc4
|