QDSV Bridge
QDSV Bridge is the QDSV interoperability service for circuit-based quantum workflows. Applications submit a bounded decision request and receive a portable OpenQASM or Qiskit-ready artifact when the request is within the service's supported scope.
Version 0.7.0 introduces a deliberately narrow public boundary. The SDK
contains domain request builders, an HTTP client and artifact adapters. The
QDSV translation and implementation that derive an artifact run only in the
Bridge service.
Business-First Quickstart
Describe the prepared candidates and decision rule; Bridge returns a portable artifact without requiring the application to author a quantum circuit.
from qdsv_bridge import (
QDSVBridge,
const,
field,
predicate_request,
)
suppliers = [
{"supplier_id": 101, "quality": 820, "compliance": 1},
{"supplier_id": 102, "quality": 680, "compliance": 1},
{"supplier_id": 103, "quality": 760, "compliance": 0},
]
request = predicate_request(
candidates=suppliers,
rule={
"op": "and",
"args": [
{"op": "gte", "left": field("quality"), "right": const(700)},
{"op": "eq", "left": field("compliance"), "right": const(1)},
],
},
format="qasm2",
)
artifact = QDSVBridge().export(request)
print(artifact.format)
print(artifact.artifact_digest)
The candidates keep their business identifiers. The SDK sends the bounded public request to Bridge; it does not construct a circuit locally.
Qiskit integration
Install the optional adapter:
pip install "qdsv-bridge[qiskit]"
Then load the recommended artifact into your own Qiskit workflow:
from qdsv_bridge import QDSVBridge
bridge = QDSVBridge()
artifact = bridge.export(request)
qc = artifact.to_quantum_circuit()
export() is explicit: it sends only the public domain request to Bridge.
Before Qiskit parses anything, the adapter confirms that artifact_digest
matches the exact returned OpenQASM bytes and that the public verification
status passed. to_quantum_circuit() makes no network request.
Bridge does not select a backend, transpile for a device, execute a simulator or QPU, or interpret execution results. Those remain under the user's Qiskit or provider workflow. The SDK has no local construction or circuit-generation fallback.
Public boundary
The SDK's stable contracts are qdsv_bridge_domain.v1 for requests and
qdsv_bridge_public.v1 for responses. The Qiskit adapter accepts qasm2 and
qasm3 artifacts.
The public service does not return internal intermediate representations, lowering plans, private build identities, or compilation diagnostics. Do not send confidential, regulated or secret data to a public endpoint.
The distributable wheel and source package are checked before release against the 0.7 public-distribution policy. The check fails when an unexpected module, historical documentation, implementation marker or unapproved package file is present.
Migration from 0.6.x
Release 0.7.0 is intentionally breaking. Replace legacy request builders
with predicate_request() or score_request(), and receive a verified public
artifact through QDSVBridge().export(request). See the 0.7 migration guide
in the documentation before upgrading an existing integration.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qdsv_bridge-0.7.0.tar.gz.
File metadata
- Download URL: qdsv_bridge-0.7.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ef00e80fec9930cfecbfa6cecc5248045ca4fb141b1bdaa2be24985685bab20
|
|
| MD5 |
c562f68b13f26dafea2e540593011523
|
|
| BLAKE2b-256 |
486a7737206a2a8cd2dd9fcfdb86f4133fa278c9878f89b317f327446660abdf
|
Provenance
The following attestation bundles were made for qdsv_bridge-0.7.0.tar.gz:
Publisher:
publish-pypi.yml on qdsvquantum-afk/qdsv-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qdsv_bridge-0.7.0.tar.gz -
Subject digest:
7ef00e80fec9930cfecbfa6cecc5248045ca4fb141b1bdaa2be24985685bab20 - Sigstore transparency entry: 2706532633
- Sigstore integration time:
-
Permalink:
qdsvquantum-afk/qdsv-bridge@f9b801df955752dd42c292d2c7bb47a126519740 -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/qdsvquantum-afk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f9b801df955752dd42c292d2c7bb47a126519740 -
Trigger Event:
push
-
Statement type:
File details
Details for the file qdsv_bridge-0.7.0-py3-none-any.whl.
File metadata
- Download URL: qdsv_bridge-0.7.0-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3eec61ca3f1b8b9b470978f0f336ccf9f6e31dc7df4c52b23aa98edc49cfe21e
|
|
| MD5 |
d2936dd9ee4240e76257f7cfc7ab5c57
|
|
| BLAKE2b-256 |
a36ee363a736e25c894bc47d827992114bc9cd5aeeb98e4508364a90650fb9a8
|
Provenance
The following attestation bundles were made for qdsv_bridge-0.7.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on qdsvquantum-afk/qdsv-bridge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qdsv_bridge-0.7.0-py3-none-any.whl -
Subject digest:
3eec61ca3f1b8b9b470978f0f336ccf9f6e31dc7df4c52b23aa98edc49cfe21e - Sigstore transparency entry: 2706532890
- Sigstore integration time:
-
Permalink:
qdsvquantum-afk/qdsv-bridge@f9b801df955752dd42c292d2c7bb47a126519740 -
Branch / Tag:
refs/tags/v0.7.0 - Owner: https://github.com/qdsvquantum-afk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@f9b801df955752dd42c292d2c7bb47a126519740 -
Trigger Event:
push
-
Statement type: