AdaptVQE¶
-
class
AdaptVQE
(transformation, solver, threshold=1e-05, delta=1, max_iterations=None)[source]¶ Bases:
qiskit.chemistry.algorithms.ground_state_solvers.ground_state_eigensolver.GroundStateEigensolver
A ground state calculation employing the AdaptVQE algorithm.
- Parameters
transformation (
FermionicTransformation
) – a fermionic driver to operator transformation strategy.solver (
MinimumEigensolverFactory
) – a factory for the VQE solver employing a UCCSD variational form.threshold (
float
) – the energy convergence threshold. It has a minimum value of 1e-15.delta (
float
) – the finite difference step size for the gradient computation. It has a minimum value of 1e-5.max_iterations (
Optional
[int
]) – the maximum number of iterations of the AdaptVQE algorithm.
Methods
Evaluates additional operators at the given state.
Whether the eigensolver returns the ground state or only ground state energy.
Computes the ground state.
Attributes
-
solver
¶ Returns the minimum eigensolver or factory.
- Return type
Union
[MinimumEigensolver
,MinimumEigensolverFactory
]
-
transformation
¶ Returns the transformation used to obtain a qubit operator from the molecule.
- Return type
Transformation