Skip to main content

QDSV Bridge: Public Technical Preview

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.x is a Public Technical Preview with 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.

User modes and exact public result

The same public request can select how much result detail Bridge returns:

Mode User profile Public result
use basic_user Verified portable artifact, resources and digests.
build intermediate_builder The artifact plus safe build details.
expert_prepare expert_constructor Semantic construction guidance; artifact and artifact_digest are None.
expert_evaluate expert_evaluator The artifact plus public alternatives and comparison data.

Use the client helpers when you want the response dictionary for a specific profile:

from qdsv_bridge import QDSVBridgeClient

client = QDSVBridgeClient()
basic_result = client.generate(request)
intermediate_result = client.build(request)
expert_inputs = client.prepare(request)
expert_evaluation = client.evaluate(request)

Every response identifies its resolved mode and user_profile. QDSVBridge().export(request) remains the circuit adapter for the three modes that deliver an artifact. Use QDSVBridgeClient.prepare(request) for expert_prepare, whose result is guidance for expert construction rather than a finished circuit.

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.

Semantic composition candidates

The official Bridge backend can also report the status of QDSV's Semantic Composition Engine (SCE). SCE generates composite operation candidates from bounded structured expressions and only marks them OFFICIAL_CANDIDATE when the backend evidence includes both operation-program verification and semantic cross-check over the declared finite domain.

The public capability endpoint only returns a summary. Candidate generation and evidence packages require an authenticated Qruba/Bridge governance context.

from qdsv_bridge import QDSVBridgeClient

client = QDSVBridgeClient(api_key="...")
capabilities = client.composition_capabilities()

candidate = client.generate_composition_candidate(
    name="policy_gate_score_v1",
    expression={
        "op": "select_if",
        "args": [
            {"op": "gte", "args": [{"var": "risk"}, 5]},
            {"op": "add", "args": [{"op": "mul", "args": [{"var": "risk"}, 2]}, {"var": "impact"}]},
            {"var": "impact"},
        ],
    },
    domains=[
        {"type": "int_range", "variable": "risk", "start": 0, "end": 7},
        {"type": "int_range", "variable": "impact", "start": 0, "end": 7},
    ],
)

print(candidate["candidate"]["state"])
print(candidate["evidence"]["semantic_cross_check"]["status"])

Reference outputs may be used by the backend to verify candidate semantics, but the evidence must report reference_answers_used_for_materialization = false. The SDK does not include the private compiler or operation synthesis internals. SCE is available to Bridge as a generation/query capability for composite operation candidates. It does not change Bridge's product boundary: Bridge continues to return verified circuit artifacts/OpenQASM/Qiskit-ready outputs; catalog governance, QPU evidence attachment and OFFICIAL promotion belong to the Qruba/API governance surface.

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, exact operational limits, SCE certification topology 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 was 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.

Metadata

Release files for qdsv-bridge 0.7.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qdsv-bridge 0.7.4
File Size Uploaded Provenance Actions
qdsv_bridge-0.7.4.tar.gz 13.3 kB With provenance Details for qdsv_bridge-0.7.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qdsv-bridge 0.7.4
File Interpreter ABI Platform Actions
qdsv_bridge-0.7.4-py3-none-any.whl Python 3 none any Details for qdsv_bridge-0.7.4-py3-none-any.whl

Total release size: 30.8 kB

Release files / qdsv_bridge-0.7.4.tar.gz

Download URL qdsv_bridge-0.7.4.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2752c01c362040170fd245df2b260fcf335351094048508ba4e8a523ba04ae56
BLAKE2b-256 checksum
How to use checksums
3a0811c4a4304f0adac86ddad4e6959821467151978bb04ad1d3fed22ed78e9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Release files / qdsv_bridge-0.7.4-py3-none-any.whl

Download URL qdsv_bridge-0.7.4-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ef3ee74fde7dd845e9ceed5ba1c96857dc0fab35fc28ad80505e226c2215248
BLAKE2b-256 checksum
How to use checksums
54555c5bcddeee3a52645eb20cf59771772b2f5c2849885201a58fabf1a31a2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

Security for qdsv-bridge 0.7.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for qdsv_bridge-0.7.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.7.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page