Skip to main content

Helper python module to interact with the different backends available in Qmio.

Project description

Qmio

Python module to interact with the different backends available in the Qmio system at CESGA.

Installation

pip install qmio

Usage

from qmio import QmioRuntimeService

circuit = 'OPENQASM 3.0;\ninclude "qelib1.inc";\nqreg q[32];\ncreg c[32];\nx q[0];\nmeasure q[0]->c[0];'

service = QmioRuntimeService()
with service.backend(name='qpu') as backend:
    result = backend.run(circuit=circuit, shots=1000)

print(result)

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

qmio-0.1.3.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.

qmio-0.1.3-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file qmio-0.1.3.tar.gz.

File metadata

  • Download URL: qmio-0.1.3.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for qmio-0.1.3.tar.gz
Algorithm Hash digest
SHA256 db1a38fa7fb773a7f36cd95d792544b022f30421399251d8b26950685d20a337
MD5 0e9f6b4b2dca30fef67018114bcb2a0e
BLAKE2b-256 1e8b61bb513fbec1e544bb074238457d32142492938d7fe1ed81d527da900e97

See more details on using hashes here.

File details

Details for the file qmio-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: qmio-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for qmio-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 886f9d0f41c9d6144678ea97354f633a8f04deed8c9cd90d3f1b1732432279fa
MD5 13eedd6d6c194a077ba7d61e2a7d0f66
BLAKE2b-256 0e03d4ad8a83b390431f58faa8afe6590e016a7a23c1ed0d3d41ae2341d736ab

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