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.2

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.2
File Size Uploaded
quelware_client-0.7.2.tar.gz 69.3 kB Details

Built distribution (wheel)

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

Total release size: 117.8 kB

Release files / quelware_client-0.7.2.tar.gz

Download URL quelware_client-0.7.2.tar.gz
Size 69.3 kB
Tags Source
SHA-256 checksum
How to use checksums
32e0fffea5947cee45f8e10c868fbe820a91e7a99f5db8091c711ff13188e593
BLAKE2b-256 checksum
How to use checksums
19b54c8257fee2be75a0ada5314ec81e9ba0df29372ef082ffbb415159061aeb
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.2-py3-none-any.whl

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

Release history Release notifications | RSS feed

0.7.3

2 release files

This release

0.7.2 This release

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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