VibrationalStructureProblem#
- class VibrationalStructureProblem(hamiltonian)[fuente]#
Bases:
BaseProblem
Vibrational Structure Problem
The following attributes can be read and updated once the
VibrationalStructureProblem
object has been constructed.- properties#
a container for additional observable operator factories.
- basis#
the second-quantization basis in which the problem’s operators are expressed.
- Type:
- Parámetros:
hamiltonian (VibrationalEnergy) – the Hamiltonian of this problem.
Attributes
- hamiltonian#
- num_modals#
The number of modals into which each mode got expanded in second-quantization.
Methods
- get_default_filter_criterion()[fuente]#
Returns a default filter criterion method to filter the eigenvalues computed by the eigen solver. For more information see also
filter_criterion()
.This particular default ensures that the occupation of every mode is (close to) 1.
- get_tapered_mapper(mapper)#
Builds a
TaperedQubitMapper
from 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.- Parámetros:
mapper (QubitMapper) –
QubitMapper
object implementing the mapping of second quantized operators to Pauli operators.- Muestra:
ValueError – If the mapper is a
TaperedQubitMapper
.- Devuelve:
A
TaperedQubitMapper
with pre-built symmetry specifications.- Tipo del valor devuelto:
- interpret(raw_result)[fuente]#
Interprets an EigenstateResult in the context of this problem.
- Parámetros:
raw_result (EigenstateResult | EigensolverResult | MinimumEigensolverResult) – an eigenstate result object.
- Devuelve:
A vibrational structure result.
- Tipo del valor devuelto:
- second_q_ops()#
Returns the second quantized operators associated with this problem.
- Devuelve:
A tuple, with the first object being the main operator and the second being a dictionary of auxiliary operators.
- Tipo del valor devuelto:
tuple[qiskit_nature.second_q.operators.sparse_label_op.SparseLabelOp, dict[str, qiskit_nature.second_q.operators.sparse_label_op.SparseLabelOp]]