Skip to content

Commit

Permalink
Update src/qibo/transpiler/optimizer.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 04009a3 commit 647134b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/qibo/transpiler/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ def __call__(self, circuit: Circuit) -> Circuit:
if logical_qubits > physical_qubits:
raise_error(
ValueError,
# "The number of qubits in the circuit can't be greater "
# + "than the number of physical qubits.",
f"The number of qubits in the circuit ({logical_qubits}) "
+ f"can't be greater than the number of physical qubits ({physical_qubits}).",
)
Expand Down

0 comments on commit 647134b

Please sign in to comment.