Skip to content

Commit

Permalink
apply_gate_raw: fix optional argument bug
Browse files Browse the repository at this point in the history
  • Loading branch information
juliendrapeau authored Apr 13, 2024
1 parent 0610098 commit 12506e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quimb/tensor/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ def apply_gate_raw(self, U, where, gate_round=None, **gate_opts):
"""Apply the raw array ``U`` as a gate on qubits in ``where``. It will
be assumed to be unitary for the sake of computing reverse lightcones.
"""
gate = Gate.from_raw(U, where, gate_round)
gate = Gate.from_raw(U, where, round=gate_round)
self._apply_gate(gate, **gate_opts)

def apply_gates(self, gates, **gate_opts):
Expand Down

0 comments on commit 12506e9

Please sign in to comment.