Skip to main content

Quant-Net Agent

The QUANT-NET Control Plane (QNCP) runs as a distributed system. This Agent registers resources, interfaces with devices, and interprets protocol commands from a Controller instance. The Agent package includes the concept of extensible command interpreters, which define the behavior of the Agents when processing protocol messages and interacting with the underlying hardware or simulation devices.

The Agent includes a hardware abstraction layer (HAL) that defines a base set of hardware classes for managing the interaction with quantum devices and external experiment control frameworks.

Development Install

Pull requirements and install package in edit mode.

pip3 install -e .

The quantnet_agent script will be available in your local path, or check ~/.local/bin

$ quantnet_agent --help
Usage: quantnet_agent [OPTIONS]

Options:
  -c, --config TEXT         Main configuration file  [default:
                            ./config/agent.cfg]
  -n, --node-config TEXT    Node configuration file  [default: ~/.quant-
                            net/node.json]
  -a, --agent_id TEXT       Specify an agent identifier  [default: ]
  --mq-broker-host TEXT     Message queue broker host
  --mq-broker-port INTEGER  Message queue broker port
  -d, --debug               Enable debug logging
  --interpreter-path TEXT   Location of additional command interpreters
  --schema-path TEXT        Specify a path containing additional schema files
  --help                    Show this message and exit.

Example usage

An MQTT broker should be available for the agent to connect to. A development docker-compose file that starts an Eclipse Mosquitto instance is available in quant-net-docker:docker-compose-backend.yml

Testing node config files exist in quant-net-mq:quant-net-mq/schemas/examples

Running the agent:

quantnet_agent --mq-broker-host <broker> -n <path_to>/quant-net-mq/quantnet_mq/schema/examples/conf_qnode.json

Metadata

Release files for quantnet-agent 1.1.0

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

Source distribution (sdist)

Source distribution for quantnet-agent 1.1.0
File Size Uploaded Provenance Actions
quantnet_agent-1.1.0.tar.gz 30.7 kB Without provenance Details for quantnet_agent-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for quantnet-agent 1.1.0
File Interpreter ABI Platform Actions
quantnet_agent-1.1.0-py3-none-any.whl Python 3 none any Details for quantnet_agent-1.1.0-py3-none-any.whl

Total release size: 71.6 kB

Release files / quantnet_agent-1.1.0.tar.gz

Download URL quantnet_agent-1.1.0.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4d53e35cef8cdc2a9134909a7d86714dc97053c80c968c43729cffb8424638b7
BLAKE2b-256 checksum
How to use checksums
cc1a220bbc1af51576119e1ff580a83bf52f15de90357f177bb34928c785e685
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / quantnet_agent-1.1.0-py3-none-any.whl

Download URL quantnet_agent-1.1.0-py3-none-any.whl
Size 40.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd631a5c662a89772b5ae59246c4aba1d3897c8e3b303d31c2610ae79166b6a1
BLAKE2b-256 checksum
How to use checksums
dcacb05e9774f5e9e07d54e2421ba5d096204afee6b9ade575415cd5ad5b29e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for quantnet-agent 1.1.0

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.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

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