Get started with 0.7.0

Install the optional Qiskit adapter:

pip install "qdsv-bridge[qiskit]"

Create a public domain request and explicitly ask Bridge to export an artifact:

from qdsv_bridge import QDSVBridge, const, field, predicate_request

request = predicate_request(
    candidates=[{"supplier_id": 101, "quality": 820, "compliance": 1}],
    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)
circuit = artifact.to_quantum_circuit()

export() is the only network operation in this flow. The adapter confirms that the returned artifact_digest binds the exact OpenQASM bytes before it loads them. to_quantum_circuit() does not call a network service.

The returned QuantumCircuit belongs to the user’s Qiskit workflow. Choose a backend, transpile and execute it only under the user’s own provider configuration.