NumPyMinimumEigensolver¶
- class NumPyMinimumEigensolver(filter_criterion=None)[source]¶
Bases:
qiskit.algorithms.minimum_eigen_solvers.minimum_eigen_solver.MinimumEigensolver
Pending deprecation: Numpy Minimum Eigensolver algorithm.
The NumPyMinimumEigensolver class has been superseded by the
qiskit.algorithms.minimum_eigensolvers.NumPyMinimumEigensolver
class. This class will be deprecated in a future release and subsequently removed after that.- Parameters
filter_criterion (
Optional
[Callable
[[Union
[List
,ndarray
],float
,Union
[List
[Optional
[float
]],Dict
[str
,float
],None
]],bool
]]) – callable that allows to filter eigenvalues/eigenstates. The minimum eigensolver is only searching over feasible states and returns an eigenstate that has the smallest eigenvalue among feasible states. The callable has the signature filter(eigenstate, eigenvalue, aux_values) and must return a boolean to indicate whether to consider this value or not. If there is no feasible element, the result can even be empty.
Methods
Computes minimum eigenvalue.
Whether computing the expectation value of auxiliary operators is supported.
Attributes
- filter_criterion¶
returns the filter criterion if set
- Return type
Optional
[Callable
[[Union
[List
,ndarray
],float
,Union
[List
[Optional
[float
]],Dict
[str
,float
],None
]],bool
]]