Qibo is an open-source full stack API for quantum simulation and quantum hardware control.
Some of the key features of Qibo are:
- Definition of a standard language for the construction and execution of quantum circuits with device agnostic approach to simulation and quantum hardware control based on plug and play backend drivers.
- A continuously growing code-base of quantum algorithms applications presented with examples and tutorials.
- Efficient simulation backends with GPU, multi-GPU and CPU with multi-threading support.
- Simple mechanism for the implementation of new simulation and hardware backend drivers.
Documentation
Qibo documentation is available here.
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 import Circuit, gates
circuit = Circuit(2)
circuit.add(gates.X(0))
# Add a measurement register on both qubits
circuit.add(gates.M(0, 1))
# Execute the circuit with the default initial state |00>.
result = circuit(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 refer to the documentation for citation instructions.
Contacts
To get in touch with the community and the developers, consider joining the Qibo workspace on Matrix:
If you have a question about the project, please contact us with 📫.
Supporters
Financial Sponsors and Development Partners
- Quantum Research Center, Technology Innovation Institute (TII), United Arab Emirates.
- National Quantum Computing Hub, National Quantum Office, Singapore.
- Istituto Nazionale di Fisica Nucleare (INFN), QUART&T CSN5, Italy.
- National Quantum Science and Technology Institute, Italy.
Collaborators
- Università degli Studi di Milano (UNIMI), Italy.
- Università degli Studi di Milano-Bicocca (UNIMIB), Italy.
- European Organization for Nuclear research (CERN), Switzerland.
- Universitat de Barcelona (UB), Spain.
- Barcelona Supercomputing Center (BSC), Spain.
- Qilimanjaro Quantum Tech, Spain.
- Centre for Quantum Technologies (CQT), Singapore.
- Institute of High Performance Computing (IHPC), Singapore.
- National Supercomputing Centre (NSCC), Singapore.
- RIKEN Center for Computational Science (R-CCS), Japan.
- NVIDIA (cuQuantum & cuda-quantum), USA.
Metadata
Release files for qibo 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qibo-0.3.5.tar.gz | 328.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qibo-0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 698.4 kB
Release files / qibo-0.3.5.tar.gz
| Download URL | qibo-0.3.5.tar.gz |
|---|---|
| Size | 328.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79b20727fb5829186cdd74c257a10c6b4fd17646a837791882414544cbd54313
|
|
BLAKE2b-256 checksum How to use checksums |
120cb0a9fe725fe4fbe2620ae0404d58db39440ec74e89056ee65199f7527a34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / qibo-0.3.5-py3-none-any.whl
| Download URL | qibo-0.3.5-py3-none-any.whl |
|---|---|
| Size | 369.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f77b95411f11e9376756466589960cd60a12ebc0e8893a497865a4d3d88c85b2
|
|
BLAKE2b-256 checksum How to use checksums |
f143be8c8d29a9b1f24adfd772031b118e054d1526bbfa1bfb393f632a342c9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|