Skip to main content

quelware-client

PyPI License

The official Python client library for QuEL-3, an integrated control system for quantum computing developed by QuEL, inc.

It provides a high-level, asynchronous interface to connect, configure, and orchestrate QuEL systems via gRPC.

Note: Currently, this library supports QuEL-3. We plan to expand support to our earlier models, such as QuEL-1 and QuEL-1 SE, in future releases.

Installation

You can easily install the package via pip:

pip install quelware-client

Authentication

A Personal Access Token (PAT) is required. Set it up in one of the following ways:

  • Place it in a config file:
    mkdir -p ~/.config/quelware-client
    echo "your-pat-here" > ~/.config/quelware-client/pat
    
  • Or pass it directly in code:
    qc = create_quelware_client("localhost", 50051, pat="your-pat-here")
    

To obtain a PAT, ask your system administrator to run quelware-admin user add.

Quick Start

Here is a minimal example of connecting to the control server in QuEL system and managing a session:

import asyncio
from quelware_client import create_quelware_client

async def main():
    qc = create_quelware_client(<hostname>, <port>)

    async with qc:
        async with qc.create_session(["your_unit:port_id"]) as session:
            print(f"Session started with token: {session.token}")
            # Deploy instruments, configure sequencer, and run timelines here...

if __name__ == "__main__":
    asyncio.run(main())

For more advanced usage, including pulse generation and sequencer configuration, please check the examples directory.

Documentation

See the client documentation for guides and the API reference. The full site is at https://quel-inc.github.io/quelware-client/.

License

This project is licensed under the Apache License 2.0.

Metadata

Release files for quelware-client 0.7.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quelware-client 0.7.4
File Size Uploaded Provenance Actions
quelware_client-0.7.4.tar.gz 77.3 kB Without provenance Details for quelware_client-0.7.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quelware-client 0.7.4
File Interpreter ABI Platform Actions
quelware_client-0.7.4-py3-none-any.whl Python 3 none any Details for quelware_client-0.7.4-py3-none-any.whl

Total release size: 128.6 kB

Release files / quelware_client-0.7.4.tar.gz

Download URL quelware_client-0.7.4.tar.gz
Size 77.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d1bf38acf2187bcb53e4367728a58f9f3f8ce019620f5ed0f2b19288cd411876
BLAKE2b-256 checksum
How to use checksums
92733f45dac461d796164ed11cceb28f26d61e9478dc96609ed622e271e00b42
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / quelware_client-0.7.4-py3-none-any.whl

Download URL quelware_client-0.7.4-py3-none-any.whl
Size 51.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1148e2ecca7291d670a63cf2ce01580bb1340214067a1bc9ecc452ee6ddadc2
BLAKE2b-256 checksum
How to use checksums
c6d62a5a2e32ff6d2ed74fbecea454403d28a70319c061cdb1c6ce6c22e9f063
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for quelware-client 0.7.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page