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).
resetand other non-unitary ops raiseQiskitError.- Single synchronous backend, all-to-all connectivity.
License
Apache-2.0.
Project details
Release history Release notifications | RSS feed
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c261c1af28f6f67028ca16447bff3a33b031f3182942bc418246faa8da7aaf00
|
|
| MD5 |
1fc70e8fca1ffd85e64a7a4cbba8e95a
|
|
| BLAKE2b-256 |
50358fd744f7779a1ae509809f81b872a4d42f337cdb25d6c5e880284aeb6212
|
Provenance
The following attestation bundles were made for clifft_qiskit-0.1.0.tar.gz:
Publisher:
release.yml on unitaryfoundation/clifft-qiskit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clifft_qiskit-0.1.0.tar.gz -
Subject digest:
c261c1af28f6f67028ca16447bff3a33b031f3182942bc418246faa8da7aaf00 - Sigstore transparency entry: 2085073164
- Sigstore integration time:
-
Permalink:
unitaryfoundation/clifft-qiskit@0aee0da95c2a4aa6560a9f9fce2d75908d81929b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/unitaryfoundation
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0aee0da95c2a4aa6560a9f9fce2d75908d81929b -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e76f67c86fa253ddda9d50fab972525ceb1f3ceaa5e7bd48140851094476ab8
|
|
| MD5 |
2f41dffa588a2102e7bb49488f632390
|
|
| BLAKE2b-256 |
d13379654eebf084e6f5011dbf19ad7e5efe319e8439b4373fa1419e5f0a3f47
|
Provenance
The following attestation bundles were made for clifft_qiskit-0.1.0-py3-none-any.whl:
Publisher:
release.yml on unitaryfoundation/clifft-qiskit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
clifft_qiskit-0.1.0-py3-none-any.whl -
Subject digest:
2e76f67c86fa253ddda9d50fab972525ceb1f3ceaa5e7bd48140851094476ab8 - Sigstore transparency entry: 2085073180
- Sigstore integration time:
-
Permalink:
unitaryfoundation/clifft-qiskit@0aee0da95c2a4aa6560a9f9fce2d75908d81929b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/unitaryfoundation
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0aee0da95c2a4aa6560a9f9fce2d75908d81929b -
Trigger Event:
push
-
Statement type: