watson_to_problem#
- watson_to_problem(watson, basis)[source]#
Builds out a
VibrationalStructureProblemfrom aWatsonHamiltonian.নোট
In the process of constructing the
VibrationalStructureProblem, the coefficients stored in theWatsonHamiltonianneed to be mapped to a second-quantization basis. For more details about this, please refer to the documentation ofVibrationalBasis.map().- প্যারামিটার:
watson (WatsonHamiltonian) -- the
WatsonHamiltonianobject from which to build the problem.basis (VibrationalBasis) -- the
VibrationalBasisinto which to map the hamiltonian coefficients.
- রিটার্নস:
A
VibrationalStructureProbleminstance.- রিটার্ন টাইপ: