QEOMResult

class QEOMResult[source]

Bases: EigensolverResult

The results class for the qEOM algorithm.

For more details about the definitions, please refer to https://arxiv.org/abs/1910.12890.

ground_state_raw_result

The raw results of the ground state eigensolver.

Type:

EigenstateResult

excitation_energies

The excitation energies approximated by the qEOM algorithm.

Type:

np.ndarray

expansion_coefficients

The expansion coefficients matrix of the excitation operators onto the set of basis operators spanning the linear qEOM subspace.

Type:

np.ndarray

h_matrix

Matrix representing the Hamiltonian in the qEOM subspace. Because of our choice for the expansion basis, the two square sub-matrices on the diagonal are related by a transposition and the two submatrices on the anti diagonal are hermitian conjugates.

Type:

np.ndarray

s_matrix

Matrix representing the geometry of the qEOM subspace. Because of our choice for the expansion basis, the two square submatrices on the diagonal are related by a transposition (with a sign) and the two submatrices on the anti diagonal are hermitian conjugates.

Type:

np.ndarray

h_matrix_std

2 by 2 matrix representing the sums of standard deviations in the four square submatrices of H.

Type:

np.ndarray

s_matrix_std

2 by 2 matrix representing the sums of standard deviations in the four square submatrices of S.

Type:

np.ndarray

transition_amplitudes

Transition amplitudes of the auxiliary operators computed following the evaluation rules specified when the qEOM class was created.

Type:

list[ListOrDictType[tuple[complex, dict[str, Any]]]

Attributes

aux_operators_evaluated

Return the aux operator expectation values.

These values are in fact tuples formatted as (mean, metadata).

eigenvalues: np.ndarray | None

Return the eigenvalues.

m_matrix

returns the M matrix

m_matrix_std

returns the M matrix standard deviation

q_matrix

returns the Q matrix

q_matrix_std

returns the Q matrix standard deviation

v_matrix

returns the V matrix

v_matrix_std

returns the V matrix standard deviation

w_matrix

returns the W matrix

w_matrix_std

returns the W matrix standard deviation

Methods

combine(result)

Any property from the argument that exists in the receiver is updated. :param result: Argument result with properties to be set.

Raises:

TypeError – Argument is None