MolecularGroundStateEnergy¶
-
class
MolecularGroundStateEnergy
(driver, solver=None, transformation=<TransformationType.FULL: 'full'>, qubit_mapping=<QubitMappingType.PARITY: 'parity'>, two_qubit_reduction=True, freeze_core=False, orbital_reduction=None, z2symmetry_reduction=None)[source]¶ Bases:
object
Molecular ground state energy chemistry application
- Parameters
driver (
FermionicDriver
) – Chemistry driversolver (
Optional
[MinimumEigensolver
]) – An Aqua MinimumEigensolver. This can be provided on the constructor or via the solver property, or via the callback oncompute_energy()
transformation (
TransformationType
) – full or particle_holequbit_mapping (
QubitMappingType
) – jordan_wigner, parity or bravyi_kitaevtwo_qubit_reduction (
bool
) – Whether two qubit reduction should be used, when parity mapping onlyfreeze_core (
bool
) – Whether to freeze core orbitals when possibleorbital_reduction (
Optional
[List
[int
]]) – Orbital list to be frozen or removedz2symmetry_reduction (
Union
[str
,List
[int
],None
]) – If z2 symmetry reduction should be applied to the qubit operators that are computed. Setting ‘auto’ will use an automatic computation of the correct sector. If from other experiments, with the z2symmetry logic, the sector is known, then the tapering values of that sector can be provided (a list of int of values -1, and 1). The default is None meaning no symmetry reduction is done. See alsoHamiltonian
which has the core processing behind this class.
Methods
Compute the ground state energy of the molecule that was supplied via the driver
Get the default solver callback that can be used with
compute_energy()
:type quantum_instance:Union
[QuantumInstance
,Backend
,BaseBackend
] :param quantum_instance: A Backend/Quantum Instance for the solver to run onAttributes
-
driver
¶ Returns chemistry driver
- Return type
FermionicDriver
-
solver
¶ Returns minimum eigen solver
- Return type
MinimumEigensolver