Skip to main content

AcQuantum Connector

Codacy Badge Read the Docs Travis Build PyPI PyPI - Python Version

Example

from acquantumconnector.connector.acquantumconnector import AcQuantumConnector
from acquantumconnector.credentials.credentials import AcQuantumCredentials
from acquantumconnector.model.backendtype import AcQuantumBackendType
from acquantumconnector.model.gates import XGate, Measure

api = AcQuantumConnector()

api.create_session(AcQuantumCredentials('username', 'password'))

# Create Experiment
experiment_id = api.create_experiment(bit_width=4, experiment_type=AcQuantumBackendType.SIMULATE,
                                      experiment_name='Demo')
print(experiment_id)

# Update Experiment
gates = [XGate(1, 1), Measure(2, 1)]
api.update_experiment(experiment_id, gates)

# Get Experiment
exp_res = api.get_experiment(experiment_id)
print(exp_res)

# List Experiments
exp_list = api.get_experiments()
print(exp_list)

# Run Experiment
api.run_experiment(experiment_id, AcQuantumBackendType.SIMULATE, 2, 100)

# Get Result
api.get_result(experiment_id)

# Download Result
api.download_result(experiment_id)

api.save_session()

License

The AcQuantumConnector is free and open source, released under the Apache License, Version 2.0.

Metadata

Release files for acquantum-connector 0.0.5

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

Source distribution (sdist)

Source distribution for acquantum-connector 0.0.5
File Size Uploaded Provenance
acquantum-connector-0.0.5.tar.gz 10.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for acquantum-connector 0.0.5
File Interpreter ABI Platform
acquantum_connector-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 28.8 kB

Release files / acquantum-connector-0.0.5.tar.gz

Download URL acquantum-connector-0.0.5.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ed842f24fec03f504293f225dae84165586a772620abf877ca706399eaafe9a0
BLAKE2b-256 checksum
How to use checksums
93ff659f68b2f33a797a33cb2936e55792ac02bf089dfc59b4c43aaa569a6e20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Release files / acquantum_connector-0.0.5-py3-none-any.whl

Download URL acquantum_connector-0.0.5-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4af2005b898bfbf808b8b72ba8be511b4c784375a332e8c335b6b0aea0ff1e33
BLAKE2b-256 checksum
How to use checksums
a306c268db6302212e0c987cd92bf2eb0f9d615bdbb7fe607ea2afc841757384
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

Security for acquantum-connector 0.0.5

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