From c6ba3a8dbb1ed5c793fea307c56290edbcb0d590 Mon Sep 17 00:00:00 2001 From: "Kevin J. Sung" Date: Wed, 1 May 2024 06:04:37 -0400 Subject: [PATCH] document entanglement="pairwise" for EfficientSU2 (#12314) --- qiskit/circuit/library/n_local/efficient_su2.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/qiskit/circuit/library/n_local/efficient_su2.py b/qiskit/circuit/library/n_local/efficient_su2.py index fc72a2a6c530..e27fe407e188 100644 --- a/qiskit/circuit/library/n_local/efficient_su2.py +++ b/qiskit/circuit/library/n_local/efficient_su2.py @@ -110,11 +110,11 @@ def __init__( If only one gate is provided, the same gate is applied to each qubit. If a list of gates is provided, all gates are applied to each qubit in the provided order. - entanglement: Specifies the entanglement structure. Can be a string ('full', 'linear' - , 'reverse_linear', 'circular' or 'sca'), a list of integer-pairs specifying the indices - of qubits entangled with one another, or a callable returning such a list provided with - the index of the entanglement layer. - Default to 'reverse_linear' entanglement. + entanglement: Specifies the entanglement structure. Can be a string + ('full', 'linear', 'reverse_linear', 'pairwise', 'circular', or 'sca'), + a list of integer-pairs specifying the indices of qubits entangled with one another, + or a callable returning such a list provided with the index of the entanglement layer. + Defaults to 'reverse_linear' entanglement. Note that 'reverse_linear' entanglement provides the same unitary as 'full' with fewer entangling gates. See the Examples section of :class:`~qiskit.circuit.library.TwoLocal` for more