A framework for quantum computing with hardware acceleration.
Project description
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
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 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 and collaborators
- Quantum Research Center, Technology Innovation Institute (TII), United Arab Emirates
- Università degli Studi di Milano (UNIMI), Italy.
- Istituto Nazionale di Fisica Nucleare (INFN), 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), USA.
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 Distribution
Built Distribution
File details
Details for the file qibo-0.2.13.tar.gz
.
File metadata
- Download URL: qibo-0.2.13.tar.gz
- Upload date:
- Size: 253.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a815f2262b4d38d57127653df83dbbcbe7e941e8fb9a53c8a107f303b270dc4 |
|
MD5 | 8893da9fddeccbd1f91ba7cdb0b7777b |
|
BLAKE2b-256 | c1c0302dd4a54ac3ecfdb3f4bf463661b7a1df48a869a1962a96b3e90b051c39 |
File details
Details for the file qibo-0.2.13-py3-none-any.whl
.
File metadata
- Download URL: qibo-0.2.13-py3-none-any.whl
- Upload date:
- Size: 294.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c67234fdbdd7bfceed4df0fe8d3d9bede9354c4e18b2c061098b002c665e0f3 |
|
MD5 | 1cf0f91620b87e7ec6ac129a66150184 |
|
BLAKE2b-256 | b7a319ebdaa2e920b15c0b1b64742e8a6c83525d0b762ca7f0c11ab05979169c |