Skip to content

Commit b172fe4

Browse files
committed
use XXPLUSYY gate
1 parent 53f92ad commit b172fe4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/qiskit_quimb/gate.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,7 @@ def _(op: Instruction, qubits: Sequence[int], kwargs: dict[str, Any]):
184184
@_register_gate_func("xx_plus_yy")
185185
def _(op: Instruction, qubits: Sequence[int], kwargs: dict[str, Any]):
186186
theta, beta = op.params
187-
return quimb.tensor.Gate(
188-
"GIVENS2", params=[0.5 * theta, beta + 0.5 * math.pi], qubits=qubits, **kwargs
189-
)
187+
return quimb.tensor.Gate("XXPLUSYY", params=[theta, beta], qubits=qubits, **kwargs)
190188

191189

192190
@_register_gate_func("y")

0 commit comments

Comments
 (0)