Skip to main content

A framework for quantum computing with hardware acceleration.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qibo-0.3.4.tar.gz (318.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qibo-0.3.4-py3-none-any.whl (363.1 kB view details)

Uploaded Python 3

File details

Details for the file qibo-0.3.4.tar.gz.

File metadata

  • Download URL: qibo-0.3.4.tar.gz
  • Upload date:
  • Size: 318.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qibo-0.3.4.tar.gz
Algorithm Hash digest
SHA256 c11f8d7f1c713e16b11481274878f824c3b9cc7ea228509be35c238a8fc194d4
MD5 db11f9c1542517befc1bd27c1b1b1f5c
BLAKE2b-256 4b2a3b50dc193fb6bf034e065f08b285a3416ebe95e2507d10c1cc99fab71b9e

See more details on using hashes here.

File details

Details for the file qibo-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: qibo-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 363.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qibo-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 99311a656981fb79638ca2cfeecdc9546ef84db2e61b87426d96c4f05eb0a65a
MD5 4f9eba52ff74f611a7a7d03774d027d3
BLAKE2b-256 3d83e79f7c6836b34871a2139c9824ee17cb48a008be984d7f38fbc42c522cab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page