EigenstateResult#
- class EigenstateResult[ソース]#
ベースクラス:
AlgorithmResult
The eigenstate result interface.
The following attributes can be read and updated once the
EigenstateResult
object has been constructed.- eigenvalues#
the computed eigenvalues.
- Type:
np.ndarray | None
- eigenstates#
the eigenstates belonging to each of the computed eigenvalues.
- raw_result#
the raw result, wrapped by this
EigenstateResult
.- Type:
AlgorithmResult | None
- formatting_precision#
the number of decimal places to use when formatting the result for printing.
- Type:
Attributes
- groundenergy#
Returns the lowest eigenvalue.
- groundstate#
Returns the lowest eigenstate.
Methods
- combine(result)#
Any property from the argument that exists in the receiver is updated. :param result: Argument result with properties to be set.
- 例外:
TypeError – Argument is None
- classmethod from_eigensolver_result(raw_result)[ソース]#
Constructs an EigenstateResult from an
EigensolverResult
.- パラメータ:
raw_result (EigensolverResult) – the raw result from which to build the EigenstateResult.
- 戻り値:
The constructed EigenstateResult.
- 戻り値の型:
- classmethod from_minimum_eigensolver_result(raw_result)[ソース]#
Constructs an EigenstateResult from an
MinimumEigensolverResult
.- パラメータ:
raw_result (MinimumEigensolverResult) – the raw result from which to build the EigenstateResult.
- 戻り値:
The constructed EigenstateResult.
- 戻り値の型:
- classmethod from_result(raw_result)[ソース]#
Constructs an EigenstateResult from another result type.
- パラメータ:
raw_result (EigenstateResult | EigensolverResult | MinimumEigensolverResult) – the raw result from which to build the new one.
- 例外:
TypeError – when an unsupported result type is provided as input.
- 戻り値:
The constructed EigenstateResult.
- 戻り値の型: