Skip to content

Should ConstantQubitNoiseModel apply noise first rather than second? #2570

@kevinsung

Description

@kevinsung

def noisy_moment(self, moment: 'cirq.Moment',
system_qubits: Sequence['cirq.Qid']):
return [
moment,
ops.Moment([self.qubit_noise_gate(q) for q in system_qubits])
]

As you can see, the original moment gets applied, then the noisy moment. This means that the measurement results of measurement gates are not affected by the noise, which may be surprising. For instance, a circuit consisting only of measurements will be sampled as if it is noiseless.

Metadata

Metadata

Labels

area/noisearea/noise-modelskind/feature-requestDescribes new functionalitykind/healthFor CI/testing/release process/refactoring/technical debt itemstriage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions