qiskit/releasenotes/notes/0.20/fix-hhl_construct_circuit-n...

9 lines
347 B
YAML

---
fixes:
- |
Fixed an issue where the :meth:`.HHL.construct_circuit` method under
certain conditions would not return a correct
:class:`~.QuantumCircuit`. Previously, the function had a rounding error in
calculating how many qubits were necessary to represent the eigenvalues
which would cause an incorrect circuit output.