failing comparisons for noise channels #6631
Labels
kind/bug-report
Something doesn't seem to work.
triage/accepted
there is consensus amongst maintainers that this is a real bug or a reasonable feature to add
Description of the issue
two related bugs related to equality checks for noise channels:
DepolarizingChannel.n_qubits
How to reproduce the issue
i believe the first issue would be fixed by just adding
approximate=True
to the@value_equality
decorator for each class and removing their explicit implementations of_approx_eq_
. The second issue just requires the inclusion ofn_qubits
inDepolarizingChannel._value_equality_values_
Cirq version
The text was updated successfully, but these errors were encountered: