View source on GitHub |
Returns whether the input has a stabilizer effect.
cirq.has_stabilizer_effect(
val: Any
) -> bool
For 1-qubit gates always returns correct result. For other operations relies on the operation to define whether it has stabilizer effect.