qiskit/releasenotes/notes/2.0/fix-efficient-su2-numqubits...

6 lines
317 B
YAML

fixes:
- |
Fixed a bug that caused the circuit library functions :func:`.efficient_su2`,
:func:`.real_amplitudes`, :func:`.excitation_preserving` and :func:`.pauli_two_design`
to error out when constructed for ``num_qubits==1``. For a single qubit these
circuits will not contain any 2-qubit gates.