Skip to main content

A framework for quantum computing with hardware acceleration.

Project description

Logo

Tests codecov DOI Matrix

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:

https://matrix.to/#/#qibo:matrix.org

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


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.2.3.tar.gz (187.6 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.2.3-py3-none-any.whl (218.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qibo-0.2.3.tar.gz
  • Upload date:
  • Size: 187.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for qibo-0.2.3.tar.gz
Algorithm Hash digest
SHA256 ad375d47499781c9a0c942fcbd3747c84346e4c671e40fca34797929a2f509b3
MD5 966a37d2286a6791cfea65340e0fde6b
BLAKE2b-256 56570a59edea87d689b9e9ace9e69021d95ac0e3b714451154ee48007572e844

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qibo-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 218.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for qibo-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 53e649c57bf17c75ccafff804633d99aab595a4cbf42b3c42d625764c3dbb5b6
MD5 a24818517c003bf8e55e3899e3cd50eb
BLAKE2b-256 4c23746b7048db512b364b81f907579ee65aced872e884860e2bae614d2cb002

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