cirq.BitFlipChannel.validate_args

BitFlipChannel.validate_args(qubits: Sequence[cirq.ops.raw_types.QubitId]) → None

Checks if this gate can be applied to the given qubits.

Does no checks by default. Child classes can override.

Parameters:qubits – The collection of qubits to potentially apply the gate to.
Throws:
ValueError: The gate can’t be applied to the qubits.