Skip to content

Commit

Permalink
remove the change of indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxiLi committed Aug 3, 2021
1 parent e11ca72 commit 7362e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qutip_qip/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,7 @@ def propagators(self, expand=True, ignore_measurement=False):
if gate.name in self.user_gates:
if gate.controls is not None:
raise ValueError("A user defined gate {} takes only "
"`targets` variable.".format(gate.name))
"`targets` variable.".format(gate.name))
func_or_oper = self.user_gates[gate.name]
if inspect.isfunction(func_or_oper):
func = func_or_oper
Expand Down

0 comments on commit 7362e88

Please sign in to comment.