- class BaseProblem(hamiltonian)#
The base representation of a second-quantization problem.
If none of the specific subclasses of this class fit your use case, you can instantiate this class itself with your custom
Hamiltonianinstance and pass it into one of the available algorithms.
The following attributes can be read and updated once the
BaseProblemobject has been constructed.
driver -- A driver encoding the molecule information.
transformers -- A list of transformations to be applied to the driver result.
main_property_name -- A main property name for the problem
Returns the hamiltonian wrapped by this problem.
Returns a default filter criterion method to filter the eigenvalues computed by the eigen solver. For more information see also
In the fermionic case the default filter ensures that the number of particles is being preserved.
TaperedQubitMapperfrom one of the mappers. This simplifies the identification of the Pauli operator symmetries and of the symmetry sector in which lies the solution of the problem.
Interprets an EigenstateResult in the context of this problem.
Returns the second quantized operators associated with this problem.
A tuple, with the first object being the main operator and the second being a dictionary of auxiliary operators.
- রিটার্ন টাইপ: