Skip to main content

Qiskit BackendV2 provider for the Clifft near-Clifford simulator

Project description

clifft-qiskit

A Qiskit BackendV2 provider for the Clifft near-Clifford simulator. Run Qiskit circuits on Clifft without hand-writing Stim.

Install

pip install clifft-qiskit

Quickstart

from qiskit import QuantumCircuit
from clifft_qiskit import ClifftProvider

qc = QuantumCircuit(2, 2)
qc.h(0); qc.cx(0, 1); qc.measure([0, 1], [0, 1])

backend = ClifftProvider().get_backend("clifft")
counts = backend.run(qc, shots=1000).result().get_counts()
print(counts)

Supported basis

Clifford+T plus single-qubit rotations: h s sdg x y z cx cy cz t tdg rx ry rz (+ measure). Higher-level gates (ccx, u, controlled rotations, …) are decomposed into this basis by qiskit.transpile inside run().

Limitations

  • Terminal measurement + counts only (no mid-circuit measurement / feedforward).
  • reset and other non-unitary ops raise QiskitError.
  • Single synchronous backend, all-to-all connectivity.

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

clifft_qiskit-0.1.0.tar.gz (56.6 kB view details)

Uploaded Source

Built Distribution

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

clifft_qiskit-0.1.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file clifft_qiskit-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for clifft_qiskit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c261c1af28f6f67028ca16447bff3a33b031f3182942bc418246faa8da7aaf00
MD5 1fc70e8fca1ffd85e64a7a4cbba8e95a
BLAKE2b-256 50358fd744f7779a1ae509809f81b872a4d42f337cdb25d6c5e880284aeb6212

See more details on using hashes here.

Provenance

The following attestation bundles were made for clifft_qiskit-0.1.0.tar.gz:

Publisher: release.yml on unitaryfoundation/clifft-qiskit

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

File details

Details for the file clifft_qiskit-0.1.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for clifft_qiskit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e76f67c86fa253ddda9d50fab972525ceb1f3ceaa5e7bd48140851094476ab8
MD5 2f41dffa588a2102e7bb49488f632390
BLAKE2b-256 d13379654eebf084e6f5011dbf19ad7e5efe319e8439b4373fa1419e5f0a3f47

See more details on using hashes here.

Provenance

The following attestation bundles were made for clifft_qiskit-0.1.0-py3-none-any.whl:

Publisher: release.yml on unitaryfoundation/clifft-qiskit

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