Skip to main content

devqubit adapter for Qiskit

Project description

devqubit-qiskit

PyPI

Qiskit adapter for devqubit — automatic circuit capture, backend snapshots, and result logging for Qiskit and Aer backends.

[!IMPORTANT] This is an internal adapter package. Install via pip install "devqubit[qiskit]" and use the devqubit public API.

Installation

pip install "devqubit[qiskit]"

Usage

from qiskit import QuantumCircuit
from qiskit_aer import AerSimulator
from devqubit import track

qc = QuantumCircuit(2)
qc.h(0)
qc.cx(0, 1)
qc.measure_all()

with track(project="bell-state") as run:
    backend = run.wrap(AerSimulator())
    job = backend.run(qc, shots=1000)
    counts = job.result().get_counts()

What's Captured

Artifact Kind Role
QPY binary qiskit.qpy.circuits program
OpenQASM 3 source.openqasm3 program
Circuit diagram qiskit.circuits.diagram program
Measurement counts result.counts.json result
Full SDK result result.qiskit.result_json result_raw
Backend properties device.qiskit.raw_properties.json device_raw
Execution envelope devqubit.envelope.json envelope

Documentation

See the Adapters guide for details on wrapping options, batch execution, and performance tuning.

License

Apache 2.0

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

devqubit_qiskit-0.1.12.tar.gz (45.4 kB view details)

Uploaded Source

Built Distribution

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

devqubit_qiskit-0.1.12-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file devqubit_qiskit-0.1.12.tar.gz.

File metadata

  • Download URL: devqubit_qiskit-0.1.12.tar.gz
  • Upload date:
  • Size: 45.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for devqubit_qiskit-0.1.12.tar.gz
Algorithm Hash digest
SHA256 2010eb4021d6b416fe5a53c0b2838aa8831836a203e55d0287a4ba22d9d90b5d
MD5 de372f1a55d939ee35dcfdf54fc24351
BLAKE2b-256 246f39c5ff8bdab017d544f3e443130556039cba1f7718b6c1cfee4ef37c0342

See more details on using hashes here.

Provenance

The following attestation bundles were made for devqubit_qiskit-0.1.12.tar.gz:

Publisher: release.yaml on devqubit-labs/devqubit

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

File details

Details for the file devqubit_qiskit-0.1.12-py3-none-any.whl.

File metadata

File hashes

Hashes for devqubit_qiskit-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 ab8254ce467d269185f6a4340650cf4c61619997a1619b12e27e14cf0dd582c0
MD5 260c73dbb44035f102dca86eccce02f9
BLAKE2b-256 05ffb2c9b524824d46745626387e27adcdaedb6cccccda1db49780cea9a91c45

See more details on using hashes here.

Provenance

The following attestation bundles were made for devqubit_qiskit-0.1.12-py3-none-any.whl:

Publisher: release.yaml on devqubit-labs/devqubit

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