-
Notifications
You must be signed in to change notification settings - Fork 3
Introduce a noise model for the Qulacs backend (gate noise + readout error handling) #75
Copy link
Copy link
Open
Description
Background
The current Qulacs backend is effectively noise-free (ideal simulation).
We want to introduce a practical noise model so simulation can reflect device calibration/topology data.
Current state (before implementation)
- Execution uses ideal state simulation only
- No gate noise is applied
- No readout error is applied
- Device topology calibration fields are not used for noise behavior
Proposal
Add a configurable noise model for the Qulacs backend with the following scope:
- Gate noise
- Single-qubit depolarizing noise
- Two-qubit depolarizing noise
- Option to derive probabilities from topology fidelity:
- 1Q:
p = 1 - qubits[].fidelity - 2Q:
p = 1 - couplings[].fidelity
- 1Q:
- Optional fixed-probability override via config
- Readout error
- Support asymmetric readout error using topology fields:
prob_meas1_prep0prob_meas0_prep1
- Apply readout error to measurement outcomes in a clear, testable way
- Config interface (proposed)
Underplugin.noise_model:
enableduse_topology_fidelitysingle_qubit_depolarizing(optional override)two_qubit_depolarizing(optional override)readout_error
Review points
- Is asymmetric readout error required for expected use cases?
- Should readout be modeled exactly (custom post-processing) or approximated with standard-only behavior?
- Should topology-derived noise be default, with fixed values as optional override?
- Do we need directional handling policy for coupling lookup (
control->targetonly vs bidirectional)?
Suggested acceptance criteria
- Team agrees on model scope and default behavior
- Config schema and docs are explicit about supported behavior
- Tests cover:
- backward compatibility when noise is disabled
- topology-derived gate noise
- readout error behavior
- probability bounds validation (
[0, 1])
Affected areas (expected)
src/device_gateway/plugins/qulacs/backend.pysrc/device_gateway/plugins/qulacs/circuit.pytests/device_gateway/plugins/qulacs/test_backend.pyconfig/config.yamlconfig/config.yaml.qulacsconfig/example/config.yaml
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels