diff --git a/src/qibo/transpiler/optimizer.py b/src/qibo/transpiler/optimizer.py index c8a79c2dc1..4f46325c16 100644 --- a/src/qibo/transpiler/optimizer.py +++ b/src/qibo/transpiler/optimizer.py @@ -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}).", )