Skip to main content

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:

  1. 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$).
  2. 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 acquire command.
  • 📓 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

qtomos-0.1.1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

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

qtomos-0.1.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file qtomos-0.1.1.tar.gz.

File metadata

  • Download URL: qtomos-0.1.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qtomos-0.1.1.tar.gz
Algorithm Hash digest
SHA256 de29b5eb6e7f1738a0f5fc3e70d679513eae65bc7eb469e6210a523464cf43e0
MD5 87e6b09157b2e92db0bd519a0adbd417
BLAKE2b-256 7f69d3a82f2b1955897f11720dd7517aad28c0d4e4a294ccf19e104cb7fe2065

See more details on using hashes here.

Provenance

The following attestation bundles were made for qtomos-0.1.1.tar.gz:

Publisher: publish.yml on lifia-unlp/qtomos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qtomos-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: qtomos-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qtomos-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 967c851756cfbd3e5d547b8fdd706a34b5e547f707823553658f0f9c1f415e45
MD5 af9b48b2ae4e3155929ccd06f6fd0b2a
BLAKE2b-256 133ff3053a17fdc4e707ef9afb23542de04f3f4c761546df0b6ec4160697fd0c

See more details on using hashes here.

Provenance

The following attestation bundles were made for qtomos-0.1.1-py3-none-any.whl:

Publisher: publish.yml on lifia-unlp/qtomos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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