where χ νn (R) is the nuclear wavefunction. In our cases, electronic |φ ν (R) and photonic |n basis states are truncated to some finite number of states. For example, in the 4-level basis, ν = g, e and n = 0, 1, and the total wavefunction can be written out explicitly as