Skip to content

Commit

Permalink
Remove a unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxiLi committed Dec 16, 2023
1 parent d9a2341 commit e554aa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qutip_qip/circuit/circuitsimulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ def _check_classical_control_value(operation, cbits):
apply_gate = True
if apply_gate:
state = self._evolve_state(
operation, current_state, expand=True
operation, current_state
)
else:
state = current_state
Expand All @@ -573,7 +573,7 @@ def _check_classical_control_value(operation, cbits):
self._state = state
return state

def _evolve_state(self, operation, state, expand=False):
def _evolve_state(self, operation, state):
"""
Applies unitary to state.
Expand Down

0 comments on commit e554aa6

Please sign in to comment.