cirq.testing.assert_same_circuits¶
-
cirq.testing.assert_same_circuits(actual: cirq.circuits.circuit.Circuit, expected: cirq.circuits.circuit.Circuit) → None[source]¶ Asserts that two circuits are identical, with a descriptive error.
Parameters: - actual – A circuit computed by some code under test.
- expected – The circuit that should have been computed.