gaqqie-door: a client library for users to access the quantum computer cloud platform gaqqie-sky in gaqqie suite
This is a beta version.
What is gaqqie-door?
gaqqie-door is a client library for users to access the quantum computer cloud platform gaqqie-sky in gaqqie suite.
For more information on gaqqie, see this.
Installation
pip install gaqqie-door
How to use gaqqie-door
The currently supported quantum programming language is Qiskit.
from qiskit import QuantumCircuit, execute
from gaqqie_door import QiskitGaqqie
circuit = QuantumCircuit(2, 2)
circuit.h(0)
circuit.cx(0, 1)
circuit.measure([0, 1], [0, 1])
url = "https://<api-id>.execute-api.<region>.amazonaws.com/<stage>" # rewrite to the endpoint URL of the user API
QiskitGaqqie.enable_account(url)
backend = QiskitGaqqie.get_backend("qiskit_simulator")
job = execute(circuit, backend)
result = job.result()
print(f"result job_id={job.job_id()}, counts={result.get_counts()}")
Sample output:
result job_id=6abff77e-4fda-4880-b3a5-ea8f49ff7cf0, counts={'00': 482, '11': 542}
Metadata
Release files for gaqqie-door 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gaqqie-door-0.2.0.tar.gz | 26.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gaqqie_door-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 64.3 kB
Release files / gaqqie-door-0.2.0.tar.gz
| Download URL | gaqqie-door-0.2.0.tar.gz |
|---|---|
| Size | 26.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c02c3e136d84fcdddcec2805b2a5dc028afaa00cc5ad61022f8cc4573c0c0d13
|
|
BLAKE2b-256 checksum How to use checksums |
5daad7adf3e36206513227f61095436a35a2cc992e31cb1d0cecb937363e1d94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|
Release files / gaqqie_door-0.2.0-py3-none-any.whl
| Download URL | gaqqie_door-0.2.0-py3-none-any.whl |
|---|---|
| Size | 38.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8812f7552fe7d2c425f5fed1297940857d6b42105f7c98eba14c192dbba467b
|
|
BLAKE2b-256 checksum How to use checksums |
4aa4aea8da4f2643c0c3c56305a67e398648dff7030d33a2b302639ae10564f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
|