Skip to content

Commit

Permalink
reno
Browse files Browse the repository at this point in the history
  • Loading branch information
1ucian0 committed Dec 19, 2024
1 parent 5925c06 commit c5f2f0e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit/circuit/library/generalized_gates/mcmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class MCMT(QuantumCircuit):
:class:`~qiskit.circuit.library.MCMTVChain`.
"""

@deprecate_func(since="1.3", additional_msg="Use MCMTGate instead.")
@deprecate_func(since="1.4", additional_msg="Use MCMTGate instead.")
def __init__(
self,
gate: Gate | Callable[[QuantumCircuit, circuit.Qubit, circuit.Qubit], circuit.Instruction],
Expand Down Expand Up @@ -157,7 +157,7 @@ class MCMTVChain(MCMT):
"""

@deprecate_func(
since="1.3",
since="1.4",
additional_msg="Use MCMTGate with the V-chain synthesis plugin instead.",
)
def __init__(
Expand Down
6 changes: 6 additions & 0 deletions releasenotes/notes/followup_13150-5bd0c77248601e1a.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
deprecations_circuits:
- |
The Multiple-Control-Multiple-Target in :class:`~qiskit.circuit.library.generalized_gates.MCMT` is now deprecated
and replaced by :class:`MCMTGate`, which is a proper :class:`Gate` subclass.

0 comments on commit c5f2f0e

Please sign in to comment.