From 049602db49eb7c99f7b587487bd10f9d1467b048 Mon Sep 17 00:00:00 2001 From: "Kevin J. Sung" Date: Mon, 13 May 2024 23:50:26 -0400 Subject: [PATCH] use name in ucj gate definition circuit --- python/ffsim/qiskit/gates/ucj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ffsim/qiskit/gates/ucj.py b/python/ffsim/qiskit/gates/ucj.py index d09a986df..629d72d09 100644 --- a/python/ffsim/qiskit/gates/ucj.py +++ b/python/ffsim/qiskit/gates/ucj.py @@ -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 )