qiskit-superstaq
This package is used to access Superstaq via a Web API through Qiskit. Qiskit programmers can take advantage of the applications, pulse level optimizations, and write-once-target-all features of Superstaq with this package.
qiskit-superstaq is available on PyPI and can be installed with:
pip install qiskit-superstaq
Please note that Python version 3.9 or higher is required. See installation instructions here.
Creating and submitting a circuit through qiskit-superstaq
import qiskit
import qiskit_superstaq as qss
token = "Insert superstaq token that you received from https://superstaq.infleqtion.com"
superstaq = qss.SuperstaqProvider(token)
qc = qiskit.QuantumCircuit(2, 2)
qc.h(0)
qc.cx(0, 1)
qc.measure(0, 0)
qc.measure(1, 1)
print(qc.draw())
# Submitting a circuit to IBM's Fez QPU. Providing the "dry-run" method parameter instructs Superstaq to simulate the circuit, and is available to free trial users.
backend = superstaq.get_backend("ibmq_fez_qpu")
job = backend.run(qc, shots=100, method="dry-run")
print(job.result().get_counts())
Metadata
Release files for qiskit-superstaq 0.5.70
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qiskit_superstaq-0.5.70.tar.gz | 62.7 kB | Without provenance | Details for qiskit_superstaq-0.5.70.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qiskit_superstaq-0.5.70-py3-none-any.whl | Python 3 | none | any | Details for qiskit_superstaq-0.5.70-py3-none-any.whl |
Total release size: 136.7 kB
Release files / qiskit_superstaq-0.5.70.tar.gz
| Download URL | qiskit_superstaq-0.5.70.tar.gz |
|---|---|
| Size | 62.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c43fbf8dfdc5899472bba8895ac6be8405435fb24b3ff44530ffbdc0bfda357
|
|
BLAKE2b-256 checksum How to use checksums |
4e04648bbf30d3a4aabfaaffcb31d84fc1410b49fe2ccd64b382dc290092a473
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / qiskit_superstaq-0.5.70-py3-none-any.whl
| Download URL | qiskit_superstaq-0.5.70-py3-none-any.whl |
|---|---|
| Size | 73.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d622a694bccb6542abba90bc46a1c9a870967675d76bf2e88aec38b6b05a1ea
|
|
BLAKE2b-256 checksum How to use checksums |
8af12e480117ae9c00d05571c2835cdf61ccd9d7fdad94379edc21e9b939cb08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Security for qiskit-superstaq 0.5.70
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.