Skip to main content

Qiskit provider for the Pauli quantum compute gateway (pauli.xyz)

Project description

qiskit-pauli

Qiskit provider for Pauli, the API gateway for quantum compute. Every device in Pauli's live registry is a BackendV2; one key reaches the whole fleet.

pip install qiskit-pauli
from qiskit import QuantumCircuit
from qiskit_pauli import PauliProvider

backend = PauliProvider().least_busy()   # PAULI_API_KEY from the environment
qc = QuantumCircuit(2, 2)
qc.h(0); qc.cx(0, 1); qc.measure([0, 1], [0, 1])
counts = backend.run(qc, shots=1000).result().get_counts()
  • No pass managers required. Pauli transpiles per device server-side; transpile(qc, backend) against the backend's Target works but is optional. The Target is built best-effort from the live registry row (native gates, coupling map) — the server's transpilation is authoritative.
  • Counts arrive in Qiskit's convention. Pauli serves one canonical bit ordering (cbit0_left) on every device; this provider flips keys at the boundary (per register, registers space-separated in reverse declaration order), verified against the gateway's own endianness canaries.
  • Runs are pinned. backend.run targets exactly this device with fallback disabled — the device you chose is the device that runs. Policy routing (cheapest / fastest / highest_fidelity / balanced), fleet-wide estimates, and dry runs live in the core SDK: provider.client is a full pauli-sdk client.
  • Money stays exact and typed. backend.run(..., max_spend_usd="1.50") takes strings or Decimal (float raises); an underfunded wallet raises pauli_sdk.InsufficientCreditsError carrying the machine-actionable payment challenge. Each member of job.sdk_jobs has the routing decision and the exact quote from the 202, and the results' billing block after completion.
  • List runs submit one Pauli job per circuit under a composite handle; result() returns one Result with an experiment per circuit.

Get a key at pauli.xyz; docs at pauli.xyz/docs. This package deliberately pins only qiskit>=1.0,<3 and rides on pauli-sdk for everything below the Qiskit surface.

License: Apache-2.0 (see LICENSE) — it covers this provider library; the Pauli service and the "Pauli" marks are not licensed by it.

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_pauli-0.1.1.tar.gz (72.3 kB view details)

Uploaded Source

Built Distribution

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

qiskit_pauli-0.1.1-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file qiskit_pauli-0.1.1.tar.gz.

File metadata

  • Download URL: qiskit_pauli-0.1.1.tar.gz
  • Upload date:
  • Size: 72.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for qiskit_pauli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 599594a246d38ed5104f2edffe90542e0f13227697e1b65452c86d29468f930c
MD5 29d6285d1204bfa103a442f40d783a70
BLAKE2b-256 ea4a331dccc2e24e9877c2e3ec1f9011605cdcd07295719bae292d1626c2e1fd

See more details on using hashes here.

File details

Details for the file qiskit_pauli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: qiskit_pauli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for qiskit_pauli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a7434e6d7b74bca6b9e35c5e00bee543d5d3f8e7bbef17c7ec6c6cad1e5b8ca
MD5 657e6bdafb6018ad41b50aaf122f7b4a
BLAKE2b-256 ba5286e3c534b21b43c1510e2287d709a42d10448335bff7d2599c77d2982179

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