MQSS Qiskit Adapter
This repository implements a Qiskit Adapter, which is able to send quantum jobs to LRZ's infrastructure.
Installation
To install the package, simply run
pip install mqss-qiskit
Usage
MQSS Qiskit Adapter has support for most of the basic features that a Qiskit provider implement. For all available features, see the detailed documentation.
from mqss.qiskit_adapter import MQSSQiskitAdapter
from qiskit.circuit import QuantumCircuit
#Create a quantum circuit
qc = QuantumCircuit(2)
qc.h(0)
qc.cx(0, 1)
qc.measure_all()
# Get the desired backend
mqss_adapter = MQSSQiskitAdapter(token="<TOKEN>")
[backend] = mqss_adapter.backends(name="<BACKEND_NAME>")
# Submit the jobs
job = backend.run(qc, shots=100)
# Get the results
print(job.result().get_counts())
To get a token and see available backends visit MQP.
Contributing
Feel free to open issues or submit pull requests to improve this project!
Metadata
Release files for mqss-qiskit 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mqss_qiskit-0.2.2.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mqss_qiskit-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.4 kB
Release files / mqss_qiskit-0.2.2.tar.gz
| Download URL | mqss_qiskit-0.2.2.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64331520e0cb86f502e768e77578c9c21f3ca1a21b03d992929c80838f0a03b1
|
|
BLAKE2b-256 checksum How to use checksums |
b7e936e0d317128c1b05b8350293c7a8861f371fe47f02d25b9b604c899f6d77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / mqss_qiskit-0.2.2-py3-none-any.whl
| Download URL | mqss_qiskit-0.2.2-py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc557451172fd4a89bca97b06ba1bdfd636f739e2e6480d43357041db61dbbb3
|
|
BLAKE2b-256 checksum How to use checksums |
966d264998cd9f034a0c2cc5c6be6da646d8e6eebe8d4147e4dc2711bab5bb42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|