Skip to content

Commit 2e18866

Browse files
Adapt to using the circuit arithmetics library (qiskit-community/qiskit-aqua#895)
* convert comparator to circuit * move first arithmetic circuits to terra - fixed value comparator - linear rotation - polynomial rotation * refactor pw linrot and weighted sum op * fix wrong num of qubits if ther ancilla register is too long it must be truncated to the required number of ancillas, otherwise circuit.append complains * name args * fix renamings to PauliRotations * fix renaming to integer_comparator * fix case of too many ancillas * fix copyright * add deprecation warning filters on tests * add note to changelog * gci to use circuit lib * european call delta to use circ lib * pwl objective to use circuit lib + fix lint * european call to use circuit lib + fix lint * add rangle and mapsto to pylintdict Co-authored-by: Manoel Marques <[email protected]>
1 parent 2f7744a commit 2e18866

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/finance/test_amplitude_estimation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
from qiskit.aqua import QuantumInstance
2323
from qiskit.aqua.components.uncertainty_models import (LogNormalDistribution,
2424
MultivariateNormalDistribution)
25-
from qiskit.finance.components.uncertainty_problems import \
26-
(EuropeanCallDelta, FixedIncomeExpectedValue)
25+
from qiskit.finance.components.uncertainty_problems import (EuropeanCallDelta,
26+
FixedIncomeExpectedValue)
2727
from qiskit.aqua.components.uncertainty_problems import \
2828
UnivariatePiecewiseLinearObjective as PwlObjective
2929
from qiskit.aqua.components.uncertainty_problems import UnivariateProblem

0 commit comments

Comments
 (0)