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)
- Explore correlations between figures of merit on 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.
Metadata
Release files for qonscious 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qonscious-0.1.4.tar.gz | 18.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qonscious-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 40.9 kB
Release files / qonscious-0.1.4.tar.gz
| Download URL | qonscious-0.1.4.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
863a057021735deea23ea326004123bdd2adc4fc4dc9f375f3b8d5bac0d492a1
|
|
BLAKE2b-256 checksum How to use checksums |
9ec3c8672d9e762f108c8fe504d64b3e3b1067147e7d0d859d37c2ebee7683b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / qonscious-0.1.4-py3-none-any.whl
| Download URL | qonscious-0.1.4-py3-none-any.whl |
|---|---|
| Size | 22.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5833d673b4fc801e8d3d8727f2ffd724efca0a3b9492244f351f1e083d2e7f67
|
|
BLAKE2b-256 checksum How to use checksums |
518a897d6e57ed63f56b82e68b5b55c507bd42e3c67e4f4c508c8bb113324c70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|