QEomEE¶
-
class
QEomEE
(operator, num_orbitals, num_particles, qubit_mapping='parity', two_qubit_reduction=True, active_occupied=None, active_unoccupied=None, is_eom_matrix_symmetric=True, se_list=None, de_list=None, z2_symmetries=None, untapered_op=None, aux_operators=None)[source]¶ Bases:
qiskit.aqua.algorithms.minimum_eigen_solvers.numpy_minimum_eigen_solver.NumPyMinimumEigensolver
QEomEE algorithm (classical)
- Parameters
operator (
LegacyBaseOperator
) – qubit operatornum_orbitals (
int
) – total number of spin orbitals, has a min. value of 1.num_particles (
Union
[List
[int
],int
]) – number of particles, if it is a list, the first number is alpha and the second number if beta.qubit_mapping (
str
) – qubit mapping typetwo_qubit_reduction (
bool
) – two qubit reduction is applied or notactive_occupied (
Optional
[List
[int
]]) – list of occupied orbitals to include, indices are 0 to n where n is num particles // 2active_unoccupied (
Optional
[List
[int
]]) – list of unoccupied orbitals to include, indices are 0 to m where m is (num_orbitals - num particles) // 2is_eom_matrix_symmetric (
bool
) – is EoM matrix symmetricse_list (
Optional
[List
[List
[int
]]]) – single excitation list, overwrite the setting in active spacede_list (
Optional
[List
[List
[int
]]]) – double excitation list, overwrite the setting in active spacez2_symmetries (
Optional
[Z2Symmetries
]) – represent the Z2 symmetriesuntapered_op (
Optional
[LegacyBaseOperator
]) – if the operator is tapered, we need untapered operator to build element of EoM matrixaux_operators (
Optional
[List
[LegacyBaseOperator
]]) – Auxiliary operators to be evaluated at each eigenvalue
- Raises
ValueError – invalid parameter
Methods
Computes minimum eigenvalue.
Execute the classical algorithm.
Whether computing the expectation value of auxiliary operators is supported.
Attributes
-
aux_operators
¶ - Return type
Optional
[List
[Optional
[OperatorBase
]]]
-
filter_criterion
¶ returns the filter criterion if set
- Return type
Optional
[Callable
[[Union
[List
,ndarray
],float
,Optional
[List
[float
]]],bool
]]
-
operator
¶ - Return type
Optional
[OperatorBase
]
-
random
¶ Return a numpy random.