ExcitedStatesSolver#
- class ExcitedStatesSolver[source]#
Bases:
ABC
The excited states calculation interface.
Attributes
- solver#
Returns the solver.
Methods
- abstract get_qubit_operators(problem, aux_operators=None)[source]#
Gets the operator and auxiliary operators, and transforms the provided auxiliary operators using a
QubitMapper
. If the user-providedaux_operators
contain a name which clashes with an internally constructed auxiliary operator, then the corresponding internal operator will be overridden by the user-provided operator.- প্যারামিটার:
problem (BaseProblem) -- A class encoding a problem defining the qubit operators.
aux_operators (dict[str, qiskit_nature.second_q.operators.sparse_label_op.SparseLabelOp | qiskit.quantum_info.operators.symplectic.sparse_pauli_op.SparsePauliOp] | None) -- Additional auxiliary operators to transform.
- রিটার্নস:
A tuple with the main operator (hamiltonian) and a dictionary of auxiliary default and custom operators.
- রিটার্ন টাইপ:
tuple[qiskit_nature.second_q.operators.sparse_label_op.SparseLabelOp, dict[str, qiskit_nature.second_q.operators.sparse_label_op.SparseLabelOp] | None]
- abstract solve(problem, aux_operators=None)[source]#
Compute the excited states energies of the molecule that was supplied via the driver.
- প্যারামিটার:
problem (BaseProblem) -- A class encoding a problem to be solved.
aux_operators (dict[str, qiskit_nature.second_q.operators.sparse_label_op.SparseLabelOp | qiskit.quantum_info.operators.symplectic.sparse_pauli_op.SparsePauliOp] | None) -- Additional auxiliary operators to evaluate.
- রিটার্নস:
An interpreted
EigenstateResult
. For more information see alsointerpret()
.- রিটার্ন টাইপ: