Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aqdrop-0.0.6.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aqdrop-0.0.6-py3-none-any.whl (16.7 kB view details)

Uploaded Python 3

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

Hashes for aqdrop-0.0.6.tar.gz
Algorithm Hash digest
SHA256 fa167075b3fb0597b59622773183df563a0ef53387a7c19d3a2905d93769706f
MD5 d3652ae8d06d1fae52947b7035a2c76c
BLAKE2b-256 d9127aadc08f892344a4fb442ed3089919870d717b104706281b3d97165cfe56

See more details on using hashes here.

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

Hashes for aqdrop-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9a3e2fa2ebd4fcc73f772d1365ec2ed9ff50a25f8c9f26492d373e70e565aedd
MD5 b52592a06af4996c683d24dc87bbeafd
BLAKE2b-256 c35d9706196953511f34832917838873d38867ccf7f45061ceaf36f9e4d925b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page