watson_to_problem#

watson_to_problem(watson, basis)[source]#

Builds out a VibrationalStructureProblem from a WatsonHamiltonian.

Note

In the process of constructing the VibrationalStructureProblem, the coefficients stored in the WatsonHamiltonian need to be mapped to a second-quantization basis. For more details about this, please refer to the documentation of VibrationalBasis.map().

Parameters:
  • watson (WatsonHamiltonian) – the WatsonHamiltonian object from which to build the problem.

  • basis (VibrationalBasis) – the VibrationalBasis into which to map the hamiltonian coefficients.

Returns:

A VibrationalStructureProblem instance.

Return type:

VibrationalStructureProblem