Skip to main content

No project description provided

Project description

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

For full API reference and advanced guides, visit the official documentation.

License

This project is licensed under the Apache License 2.0.

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

quelware_client-0.3.0.tar.gz (107.6 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.3.0-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quelware_client-0.3.0.tar.gz
  • Upload date:
  • Size: 107.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.18

File hashes

Hashes for quelware_client-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d35a9b0e958123274d28c83d048bf8285edf1e8fb0cf03d2988acd288bb53482
MD5 610230154960ab0c296f597ecfa01d3e
BLAKE2b-256 f1535a32c1ad546d9ff02b34932a79e626adff711da3e3a2510415a0e8f79011

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quelware_client-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed68f1294805f7391e473ef37163558493de20135536ee71e234c70bcb79b54e
MD5 5bb8c76b883f2f8f604dc8e42ac21c94
BLAKE2b-256 5e50c1dd84616b3c606138c7873e5e4469660e0be857e92ba21893d330db3f64

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