Skip to content

Commit

Permalink
deprecate cnot_rxx_decompose
Browse files Browse the repository at this point in the history
  • Loading branch information
ShellyGarion committed Dec 28, 2023
1 parent 133be57 commit 70efcb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qiskit/quantum_info/synthesis/ion_decompose.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
from qiskit.circuit.library.standard_gates.ry import RYGate
from qiskit.circuit.library.standard_gates.rx import RXGate
from qiskit.circuit.library.standard_gates.rxx import RXXGate
from qiskit.utils.deprecation import deprecate_func


@deprecate_func(since="0.46.0", pending=True)
def cnot_rxx_decompose(plus_ry: bool = True, plus_rxx: bool = True):
"""Decomposition of CNOT gate.
Expand Down

0 comments on commit 70efcb2

Please sign in to comment.