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.2.tar.gz (11.7 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.2-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qiskit_pauli-0.1.2.tar.gz
  • Upload date:
  • Size: 11.7 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.2.tar.gz
Algorithm Hash digest
SHA256 b2d714ae781055fe30947f7bbdedeb93dc60796ab0c3c88831168ccaa0c5f208
MD5 1eff01c2fc7bb91733e1a1db72126830
BLAKE2b-256 e681ca903e866e3c2190cb78d3dbf6569f0819086b20e58c4c953d66f9ff57fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qiskit_pauli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b6a38892061f24cbe42a325056f40ef0c6166c715ff27c73c8fc099bc8c84480
MD5 c1ab9bb6454572c0a11e8d20ef86634d
BLAKE2b-256 df157201144bb6302c74b4bf402924d1ddc083957dfd5214a51d186da7495bf2

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