Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxiLi committed Apr 3, 2024
1 parent d1bd5bb commit 474884d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/qutip_qip/circuit/circuitsimulator.py
Expand Up @@ -474,9 +474,7 @@ def _check_classical_control_value(operation, cbits):
state = self._apply_measurement(op, current_state)
elif isinstance(op, Gate):
if op.classical_controls is not None:
apply_gate = _check_classical_control_value(
op, self.cbits
)
apply_gate = _check_classical_control_value(op, self.cbits)
else:
apply_gate = True
if not apply_gate:
Expand Down

0 comments on commit 474884d

Please sign in to comment.