Skip to main content

No project description provided

Project description

mqp-qiskit-provider

Installation

pip install mqp-qiskit-provider

Usage

from qiskit import QuantumCircuit
from mqp.qiskit_provider import MQPProvider

# instantiate the MQP provider with your api token
provider = MQPProvider(token="<api-token>")
# get a list of all backends you have access to
all_backends = provider.backends()
# get a specific backend by its name
backend = provider.get_backend("<resource-name>")

# create a circuit
circuit = QuantumCircuit(2, 2)
circuit.h(0)
# .....
# create a job and get the results
# (currently one one circuit per job)
job = backend.run(circuit, shots=1000)
# query the status of the job
status = job.status()
# cancel the job
job.cancel()
# get the result of the job
result = job.result()
# get the job's resulting counts
counts = result.get_counts()

Changelog

See the CHANGELOG for details on changes in each version.

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

mqp_qiskit_provider-0.1.5.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mqp_qiskit_provider-0.1.5-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file mqp_qiskit_provider-0.1.5.tar.gz.

File metadata

  • Download URL: mqp_qiskit_provider-0.1.5.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.3 CPython/3.13.1 Linux/6.8.0-1020-azure

File hashes

Hashes for mqp_qiskit_provider-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5d344539461faf792a7fa51794a12c5c2fb12fec58caa7fde37b23fca0d776db
MD5 b03de0c66f681915727a28ae9339a8e6
BLAKE2b-256 344dbe1342c4d65bb6eccc096b4325345ea4992d16b0b1403d69208e2af3cc10

See more details on using hashes here.

File details

Details for the file mqp_qiskit_provider-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: mqp_qiskit_provider-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.22.3 CPython/3.13.1 Linux/6.8.0-1020-azure

File hashes

Hashes for mqp_qiskit_provider-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a082bc712b8ebb9c3a0c937f7536fa52e3a026505f0e6f3552b9cfa049a6bfc2
MD5 969d6ce060d31bbfc6f0bda326f1807e
BLAKE2b-256 7fdf61700743d739db521b9fa6d9d44b69cf201500f5a775e416e71eb38cf4b7

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