Skip to main content

quelware-client

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.

Download files

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

Source Distribution

quelware_client-0.5.1.tar.gz (65.3 kB view details)

Uploaded Source

Built Distribution

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

quelware_client-0.5.1-py3-none-any.whl (46.4 kB view details)

Uploaded Python 3

File details

Details for the file quelware_client-0.5.1.tar.gz.

File metadata

  • Download URL: quelware_client-0.5.1.tar.gz
  • Upload date:
  • Size: 65.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for quelware_client-0.5.1.tar.gz
Algorithm Hash digest
SHA256 3148f1e31dc784121e9da1b84a0299fa1d2a8a3d8b0fd099849120174dc75f2a
MD5 308b91f765803383c0391830c81c2357
BLAKE2b-256 48193c1d5deb56f45400ded67b9eb4c19d95bce34cec35973a2171ccc58dd98a

See more details on using hashes here.

File details

Details for the file quelware_client-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for quelware_client-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cdd27c3e25a0040a0daacc039588eda43fd1881b419597e0c24ecd577be33527
MD5 e3e36b9aeca27a2cefb4319418b38df2
BLAKE2b-256 5da02c3084b53b749e5eec8998ad0717c2725717df5da3bffaef8543918ada54

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.1

2 files

0.6.0

2 files

This release

0.5.1 This release

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.4.post1

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 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