Skip to main content

No project description provided

Project description

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


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,

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

# Get Experiment
exp_res = api.get_experiment(experiment_id)

# List Experiments
exp_list = api.get_experiments()

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

# Get Result

# Download Result



The AcQuantumConnector is free and open source, released under the Apache License, Version 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

acquantum-connector-0.0.5.tar.gz (10.3 kB view hashes)

Uploaded source

Built Distribution

acquantum_connector-0.0.5-py3-none-any.whl (18.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page