Skip to main content

Qonscious is a runtime framework designed to support conditional execution of quantum circuits based on resource introspection. It helps you build quantum applications that are aware of backend conditions — such as entanglement, coherence, or fidelity — before execution.

Project description

CI

Qonscious is a runtime framework designed to support the conditional execution of quantum circuits based on resource introspection. It helps you build quantum applications that are aware of backend conditions — such as entanglement, coherence, or fidelity — before execution.

Why Qonscious?

In the NISQ era, quantum hardware is noisy, resource-limited, and variable over time. Static resource assumptions lead to unreliable results. Qonscious makes quantum programs introspective and adaptive.

For a deeper discussion on the motivation behind Qonscious, read our article

Key Features

  • Figures of Merit evaluation (e.g., get CHSH score, T1, T2, ...)
  • Conditional execution on compliance with figures of merit checks
  • One circuit, many backends: abstract backends and hide complexity behind adaptors (currently available for SampleV2, Aer Simulator, IBM Backends, IBM Simulators, IONQ backends)
  • Inversion of control: pass a callback, not only a circuit
  • Rich, uniform results from all backends, including backend configuration, and any figures of merit you need as conditional context
  • Built-in logging, extensibility, and fallback logic

Use cases

These are some scenarios where you may use Qonscious:

  • Run a circuit conditional on your target computer (or simulator) checking some figures of merit (e.g., number of qubits, CHSH score, etc.)
  • Benchmark a computer (or simulator) in terms of a collection of figures of merit.
  • Explore correlations between experiment results and figures of merit of a given computer (or simulator)
  • ...

Installation

We encourage installing Qiskit via pip to make sure you have the latest released version:

pip install qonscious

If you preffer working on the source code (or you'd like to contribute to the development of Qonscious read the instructions for contributos)

Examples

The notebooks folder contains several examples of using Qonscious in different use cases.

We suggest you start with chsh_test_demo.ipynb which is also available as a Google Colab Notebook. There is even a youtube tutorial covering this specific usage example.

Documentation

Up-to-date documentation is available on github pages

The API reference's home page provides a good overview of all important elements and their relationships.

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

qonscious-0.1.2.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

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

qonscious-0.1.2-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file qonscious-0.1.2.tar.gz.

File metadata

  • Download URL: qonscious-0.1.2.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for qonscious-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1b02bc52eb61baa989768b2899a22602a5a7e7dcf50b353bce9a0b7a92fcbe34
MD5 ba19ec5493478e6380953a5da8fd7e64
BLAKE2b-256 882df8fb0dbc5f9baa31c80b1ca2a3ce6d8f552526011170d28afad1545ad23b

See more details on using hashes here.

File details

Details for the file qonscious-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: qonscious-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for qonscious-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c3e886c02f8d22fcdd6494c47a08a7e279d3634c47ae3ed233c98d6e43d9823f
MD5 079801c81a92f334fc82f4a2fb7b72d7
BLAKE2b-256 781effa554a019afaefd9ff5c85b2f46d4f8e1c4f3cac742c88613759075c8ae

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