Skip to main content

Logo

codecov PyPI - Version PyPI - Python Version

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

docs

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

arXiv DOI

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:

Matrix

If you have a question about the project, please contact us with 📫.

Supporters

Financial Sponsors and Development Partners

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.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qibo 0.3.7
File Size Uploaded Provenance Actions
qibo-0.3.7.tar.gz 537.4 kB Without provenance Details for qibo-0.3.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qibo 0.3.7
File Interpreter ABI Platform Actions
qibo-0.3.7-py3-none-any.whl Python 3 none any Details for qibo-0.3.7-py3-none-any.whl

Total release size: 1.1 MB

Release files / qibo-0.3.7.tar.gz

Download URL qibo-0.3.7.tar.gz
Size 537.4 kB
Tags Source
SHA-256 checksum
How to use checksums
35ac1541dd45db5336b2d0d9691b80097710f82dcac762aac78891049bae218d
BLAKE2b-256 checksum
How to use checksums
2ae7a96a707ad3ada3f8dc5a5d044ce8616231019d4e5104ffbc12f217557e2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / qibo-0.3.7-py3-none-any.whl

Download URL qibo-0.3.7-py3-none-any.whl
Size 597.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
47bad4fc664d312f603672ef51a53295000e5dbc70b1a8c702d90fd616cc0f57
BLAKE2b-256 checksum
How to use checksums
9c3c669a47435b9dfc0559d49d4f6f85b8b0fe0399be3f098bd3956806dc02bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for qibo 0.3.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.7 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page