uniqc.noise_bridge.synthetic module¶
Synthetic noise-model exchange files for local interface verification.
Produces valid nlearn.noise-model.v1 payloads without importing the
private nlearn package: the schema, canonical hash, and Pauli-order
conventions are replicated from the published exchange contract (including
the runtime probe that detects whether the density-operator backend applies
PauliError2Q arguments transposed).
These models are explicitly data_class: "synthetic". They carry
WK_C180-scale error magnitudes so that local QRAM/QPU/mitigation cases and
tests exercise the same numerical regime as hardware models, but they are
not hardware measurements and must not be cited as such. Real historical
noise data enters through uniqc.noise_bridge.exchange.load_noise_model()
with the hardware_archive / historical_replay classes produced by the
noise-learning product.
- uniqc.noise_bridge.synthetic.build_synthetic_model(*, num_qubits=5, seed=0, generator_note='WK_C180-scale synthetic channels for local interface verification')[source]¶
Build a valid synthetic
nlearn.noise-model.v1payload.- Parameters:
num_qubits – Chain length (>= 2). Line topology
0-1-...-n-1.seed – Seed for the per-channel magnitude jitter.
generator_note – Recorded in
source.evidence.
- Returns:
The validated payload dict (with
model_sha256set).