Skip to content

Commit

Permalink
Update src/qibo/transpiler/asserts.py
Browse files Browse the repository at this point in the history
Co-authored-by: Renato Mello <[email protected]>
  • Loading branch information
csookim and renatomello authored Dec 11, 2024
1 parent ce90ae1 commit 723b523
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qibo/transpiler/asserts.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ def assert_circuit_equivalence(
if transpiled_circuit.nqubits != original_circuit.nqubits:
raise_error(
ValueError,
f"Transpiled circuit ({transpiled_circuit.nqubits}) and original circuit ({original_circuit.nqubits}) do not have the same number of qubits.",
f"Transpiled circuit ({transpiled_circuit.nqubits}) and original circuit "
+ f"({original_circuit.nqubits}) do not have the same number of qubits.",
)

if test_states is None:
Expand Down

0 comments on commit 723b523

Please sign in to comment.