Skip to content

Commit

Permalink
use name in ucj gate definition circuit
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed May 14, 2024
1 parent f15f85e commit 049602d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ffsim/qiskit/gates/ucj.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _define(self):
"""Gate decomposition."""
qubits = QuantumRegister(self.num_qubits)
self.definition = QuantumCircuit.from_instructions(
_ucj_jw(qubits, self.ucj_operator), qubits=qubits
_ucj_jw(qubits, self.ucj_operator), qubits=qubits, name=self.name
)


Expand Down

0 comments on commit 049602d

Please sign in to comment.