MultivariateProblem¶
-
class
MultivariateProblem
(uncertainty_model, aggregation_function, univariate_objective, conditions=None)[source]¶ Bases:
qiskit.aqua.components.uncertainty_problems.uncertainty_problem.UncertaintyProblem
Multivariate Uncertainty Problem.
Constructor.
- Parameters
uncertainty_model (
MultivariateDistribution
) – multivariate uncertainty modelaggregation_function (
CircuitFactory
) – aggregation function that maps the multiple dimension to an aggregated valueunivariate_objective (
UnivariatePiecewiseLinearObjective
) – objective function applied to the aggregated valueconditions (
Union
[List
[Tuple
[int
,CircuitFactory
]],ndarray
,None
]) – list of pairs (int, CircuitFactory) = target dimension of uncertainty model and condition to be satisfied to apply the aggregation
Methods
Adds corresponding sub-circuit to given circuit
Adds corresponding controlled sub-circuit to given circuit
Adds controlled inverse of corresponding sub-circuit to given circuit
Adds controlled, inverse, power of corresponding circuit.
Adds controlled power of corresponding circuit.
Adds inverse of corresponding sub-circuit to given circuit
Adds inverse power of corresponding circuit.
Adds power of corresponding circuit.
returns number of qubits
returns number of qubits controlled
returns required ancillas
returns required ancillas controlled
value to estimate
Attributes
-
num_target_qubits
¶ Returns the number of target qubits