-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area/noisearea/noise-modelskind/feature-requestDescribes new functionalityDescribes new functionalitykind/healthFor CI/testing/release process/refactoring/technical debt itemsFor CI/testing/release process/refactoring/technical debt itemstriage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked onA consensus emerged that this bug report, feature request, or other action should be worked on
Description
Cirq/cirq/devices/noise_model.py
Lines 204 to 209 in e904305
| 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
Assignees
Labels
area/noisearea/noise-modelskind/feature-requestDescribes new functionalityDescribes new functionalitykind/healthFor CI/testing/release process/refactoring/technical debt itemsFor CI/testing/release process/refactoring/technical debt itemstriage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked onA consensus emerged that this bug report, feature request, or other action should be worked on