Skip to main content

Qiskit provider for accessing the quantum devices at Honeywell

Project description

Qiskit Honeywell Provider

LicenseBuild Status

Qiskit is an open-source framework for working with noisy quantum computers at the level of pulses, circuits, and algorithms.

This project contains a provider that allows access to Honeywell quantum devices.

Installation

You can install the provider using pip:

pip3 install qiskit-honeywell-provider

pip will handle installing all the python dependencies automatically and you will always install the latest version.

Setting up the Honeywell Provider

Once the package is installed, you can access the provider from Qiskit via the following import:

from qiskit.providers.honeywell import Honeywell

You will need credentials for the Honeywell Quantum Service. This can either be set via the HQS_API_KEY environment variable, or you can save that token to disk with:

Honeywell.save_account('MYToken')

The credentials will then be loaded automatically on calls that return Backends, or you can manually load the credentials with:

Honeywell.load_account()

which will first check if the env variable is set and use that token and if not it will load any save credentials from disk.

With credentials loaded then you can access the backends from the provider:

backends = Honeywell.backends()
backend = Honeywell.get_backend(device)

You can then use that backend like you would use any other qiskit backend. For example, running a bell state circuit:

from qiskit import *
qc = QuantumCircuit(2, 2)
qc.h(0)
qc.cx(0, 1)
qc.measure([0,1], [0,1])
result = execute(qc, backend).result()
print(result.get_counts(qc))

Authors and Citation

The Qiskit Honeywell provider is the work of many people who contribute to the project at different levels. If you use Qiskit, please cite as per the included BibTeX file.

License

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

qiskit-honeywell-provider-0.1.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

qiskit_honeywell_provider-0.1.0-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file qiskit-honeywell-provider-0.1.0.tar.gz.

File metadata

  • Download URL: qiskit-honeywell-provider-0.1.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7

File hashes

Hashes for qiskit-honeywell-provider-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fde5d43b7aab74d294a30e21783af00345c86679825167a49b431db4576a7b03
MD5 9232a302e0115948a304a0ca00cd80c5
BLAKE2b-256 4b929de74a01b7552ab5ecb19b144646cd6a92540f8ecbbcf72e89e573185b86

See more details on using hashes here.

File details

Details for the file qiskit_honeywell_provider-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: qiskit_honeywell_provider-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 31.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7

File hashes

Hashes for qiskit_honeywell_provider-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 faf22155156011b402cef9447440388be2fc6842bae100841c46e97b70af414c
MD5 f89531d0cb2563bf47c7107985c6ee7b
BLAKE2b-256 42277bad8a8003a9a5a13086e9fb41cc794e7ee505d0326aa09e3c6069f3f006

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page