Thin client SDK for AQDROP API
Project description
AQDrop
AQDrop is the management system for interaction with the Advanced Quantum Testbed (AQT) at NERSC. It provides a centralized API for job submission, queue management, and member access control.
Library and Client
The aqdrop Python library provides a programmatic interface to the API, allowing users to interact with the quantum testbed via Python scripts.
Installation
The following command will install the AQDrop library, but will not install Qiskit.
pip install aqdrop
In order to submit Qiskit circuits, install Qiskit manually or include Qiskit in your AQDrop install (ensuring version compatibility) with the following command:
pip install aqdrop[qiskit]
Basic Usage
See the "examples" directory for examples of basic job submission and retrieval.
import aqdrop
import qiskit
# Initialize the client
client = aqdrop.AqdropClient()
# Submit a Qiskit job
qc = qiskit.QuantumCircuit(1)
qc.h(0)
qc.measure_all()
job = client.submit_qiskit("ideal", qc)
print(f"Job submitted with ID: {job.id}")
# Check job status
status = client.get_job(job_id=job.id)
print(f"Current status: {status.status}")
Note that the constructor for AqdropClient requires the user's credentials (including the API hostname). If any credentials are not provided explicitly in the constructor call, AQDrop will check the environment variables AQDROP_USERNAME, AQDROP_PASSWORD, and AQDROP_HOSTNAME.
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 aqdrop-0.0.6.tar.gz.
File metadata
- Download URL: aqdrop-0.0.6.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa167075b3fb0597b59622773183df563a0ef53387a7c19d3a2905d93769706f
|
|
| MD5 |
d3652ae8d06d1fae52947b7035a2c76c
|
|
| BLAKE2b-256 |
d9127aadc08f892344a4fb442ed3089919870d717b104706281b3d97165cfe56
|
File details
Details for the file aqdrop-0.0.6-py3-none-any.whl.
File metadata
- Download URL: aqdrop-0.0.6-py3-none-any.whl
- Upload date:
- Size: 16.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a3e2fa2ebd4fcc73f772d1365ec2ed9ff50a25f8c9f26492d373e70e565aedd
|
|
| MD5 |
b52592a06af4996c683d24dc87bbeafd
|
|
| BLAKE2b-256 |
c35d9706196953511f34832917838873d38867ccf7f45061ceaf36f9e4d925b1
|