https://github.com/qiboteam/qibo
A full-stack framework for quantum computing.
https://github.com/qiboteam/qibo
gpu quantum quantum-algorithms quantum-annealing quantum-circuit quantum-computing
Last synced: 18 days ago
JSON representation
A full-stack framework for quantum computing.
- Host: GitHub
- URL: https://github.com/qiboteam/qibo
- Owner: qiboteam
- License: apache-2.0
- Created: 2020-02-18T08:21:10.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2026-02-25T07:24:56.000Z (25 days ago)
- Last Synced: 2026-02-25T10:48:09.095Z (25 days ago)
- Topics: gpu, quantum, quantum-algorithms, quantum-annealing, quantum-circuit, quantum-computing
- Language: Python
- Homepage: https://qibo.science
- Size: 97.8 MB
- Stars: 340
- Watchers: 33
- Forks: 91
- Open Issues: 125
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- quantum-awesome - https://github.com/qiboteam/qibo
- awesome-quantum-software - Qibo - An open-source framework for quantum simulation, self-hosted quantum hardware control and calibration. (Quantum full-stack libraries)
README

[](https://codecov.io/gh/qiboteam/qibo)


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
[](https://qibo.science/qibo/stable/)
Qibo documentation is available [here](https://qibo.science).
## Minimum Working Examples
A simple [Quantum Fourier Transform (QFT)](https://en.wikipedia.org/wiki/Quantum_Fourier_transform) example to test your installation:
```python
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:
```python
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
[](https://arxiv.org/abs/2009.01845)
[](https://zenodo.org/badge/latestdoi/241307936)
If you use the package please refer to [the documentation](https://qibo.science/qibo/stable/appendix/citing-qibo.html#publications) for citation instructions.
## Contacts
To get in touch with the community and the developers, consider joining the Qibo workspace on Matrix:
[](https://matrix.to/#/#qibo:matrix.org)
If you have a question about the project, please contact us with [📫](mailto:qiboteam@qibo.science).
## Supporters
### Financial Sponsors and Development Partners
- [Quantum Research Center](https://www.tii.ae/quantum), Technology Innovation Institute (TII), United Arab Emirates.
- [National Quantum Computing Hub](https://www.nqch.sg), National Quantum Office, Singapore.
- [Istituto Nazionale di Fisica Nucleare (INFN)](https://web.infn.it/quartet/), QUART&T CSN5, Italy.
- [National Quantum Science and Technology Institute](https://nqsti.it), 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.