A SpinQ quantum state tomography data acquisition toolset
Project description
Quantum State Tomography (qtomos)
Quantum State Tomography is the process of completely characterizing the quantum state of a system by performing a series of measurements on identical copies of the state. It allows us to mathematically reconstruct the density matrix, which fully describes the system.
This toolset is specifically designed for SpinQ NMR quantum computers and has been successfully tested on the Triangulum (3-qubit) system.
Quantum State Tomography is generally a two-phase process:
- Data Acquisition: Run quantum circuits on a simulator or real hardware to gather measurement statistics for a complete set of observables. In this toolset, we specifically use the complete set of tensor products of the non-identity Pauli matrices ($X, Y, Z$).
- State Reconstruction: Use the acquired measurement data to mathematically reconstruct the density matrix of the quantum state.
[!NOTE] This toolset is solely focused on Data Acquisition (
qtomos). State reconstruction is not handled by this repository.
Features
- Multi-backend support: Run acquisitions seamlessly on a simulator (
sim) or directly on actual quantum hardware (qpu). - Granular Control: Measure single observables (e.g.,
XX) or effortlessly execute an automated sequence covering all permutations for full tomographic reconstruction. - Customizable Circuits: Dynamically load pre-defined state preparation circuits (GHZ, Phi+, W, Random) from the catalog or define your own.
- Structured JSON Output: Measurements are paired with timestamps, counts, runtime configurations, and the compiled QASM logic.
Quickstart
You can install qtomos directly from PyPI:
pip install qtomos
Documentation
Depending on your use case, refer to the following dedicated guides:
- 📖 CLI Usage Guide: Learn how to perform tomography directly from your terminal using the
acquirecommand. - 📓 Jupyter Notebook Guide: Learn how to import and use the programmatic APIs within Python scripts and Jupyter Notebooks.
- 🛠️ Developer Guide: Learn how to set up the repository for local development, run tests, and understand the project structure.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qtomos-0.1.4.tar.gz.
File metadata
- Download URL: qtomos-0.1.4.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8969310c461dca01d4e9ee98bc728056e6f7a4f1717d80a2b41b50bafd6fe344
|
|
| MD5 |
ff79518fd99b1600d0e48e6b503dd77d
|
|
| BLAKE2b-256 |
856b07bf1eb22c67ea541279debe8e52002f5f8cb10a68b65cf0471fedfa9caf
|
Provenance
The following attestation bundles were made for qtomos-0.1.4.tar.gz:
Publisher:
publish.yml on lifia-unlp/qtomos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qtomos-0.1.4.tar.gz -
Subject digest:
8969310c461dca01d4e9ee98bc728056e6f7a4f1717d80a2b41b50bafd6fe344 - Sigstore transparency entry: 2011039331
- Sigstore integration time:
-
Permalink:
lifia-unlp/qtomos@2a2f8081ec7e4a45bb72c9cffef47e693752ab2b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/lifia-unlp
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2a2f8081ec7e4a45bb72c9cffef47e693752ab2b -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file qtomos-0.1.4-py3-none-any.whl.
File metadata
- Download URL: qtomos-0.1.4-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
535e1655928071e5f0624bdeedf610a9b98f9de2bf2c0056e85d6690f5c8565b
|
|
| MD5 |
ff4cec5e00554d4eb2b86119bcfc16d2
|
|
| BLAKE2b-256 |
f345f5db3cc0464a9c74597968f2218760ed221ecdad8d9a122124be6cef25ad
|
Provenance
The following attestation bundles were made for qtomos-0.1.4-py3-none-any.whl:
Publisher:
publish.yml on lifia-unlp/qtomos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qtomos-0.1.4-py3-none-any.whl -
Subject digest:
535e1655928071e5f0624bdeedf610a9b98f9de2bf2c0056e85d6690f5c8565b - Sigstore transparency entry: 2011039423
- Sigstore integration time:
-
Permalink:
lifia-unlp/qtomos@2a2f8081ec7e4a45bb72c9cffef47e693752ab2b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/lifia-unlp
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2a2f8081ec7e4a45bb72c9cffef47e693752ab2b -
Trigger Event:
workflow_dispatch
-
Statement type: