English
Languages
English
Shortcuts



MinimumEigenOptimizationResult

class MinimumEigenOptimizationResult(x, fval, variables, status, samples=None, min_eigen_solver_result=None, raw_samples=None)[source]

Bases: qiskit_optimization.algorithms.optimization_algorithm.OptimizationResult

Minimum Eigen Optimizer Result.

Parameters
  • x (Union[List[float], ndarray, None]) – the optimal value found by MinimumEigensolver.

  • fval (Optional[float]) – the optimal function value.

  • variables (List[Variable]) – the list of variables of the optimization problem.

  • status (OptimizationResultStatus) – the termination status of the optimization algorithm.

  • min_eigen_solver_result (Optional[MinimumEigensolverResult]) – the result obtained from the underlying algorithm.

  • samples (Optional[List[SolutionSample]]) – the x values, the objective function value of the original problem, the probability, and the status of sampling.

  • raw_samples (Optional[List[SolutionSample]]) – the x values of the QUBO, the objective function value of the QUBO, and the probability of sampling.

Attributes

min_eigen_solver_result

Returns a result object obtained from the instance of MinimumEigensolver.

raw_samples

Returns the list of raw solution samples of MinimumEigensolver.

Methods