From 2db63bf84950eb6e4b2ba2e3fbdf87a8f3241344 Mon Sep 17 00:00:00 2001 From: Jim Garrison Date: Tue, 27 Jun 2023 13:36:03 -0400 Subject: [PATCH] Let's stop counting the supported operations. --- circuit_knitting/cutting/qpd/qpd.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/circuit_knitting/cutting/qpd/qpd.py b/circuit_knitting/cutting/qpd/qpd.py index e23e26ef6..ef02f3914 100644 --- a/circuit_knitting/cutting/qpd/qpd.py +++ b/circuit_knitting/cutting/qpd/qpd.py @@ -195,7 +195,7 @@ def qpdbasis_from_gate(gate: Gate) -> QPDBasis: """ Generate a QPDBasis object, given a supported operation. - This method currently supports 11 operations: + This method currently supports the following operations: - :class:`~qiskit.circuit.library.RXXGate` - :class:`~qiskit.circuit.library.RYYGate` - :class:`~qiskit.circuit.library.RZZGate` @@ -208,6 +208,9 @@ def qpdbasis_from_gate(gate: Gate) -> QPDBasis: - :class:`~qiskit.circuit.library.CHGate` - :class:`~qiskit.circuit.library.ECRGate` + The above gate names can also be determined by calling + :func:`supported_gates`. + Returns: The newly-instantiated :class:`QPDBasis` object