Misprint - Users Guide (Manipulating States and Operators)
mkPavel opened this issue · 3 comments
mkPavel commented
Hello!
I've noted misprint in "Qubit (two-level) systems" subsection of "Manipulating States and Operators" section.
I think, that after words "Now at this point one may ask how this state is different than that of a harmonic oscillator in the vacuum state truncated to two energy levels?" you need type code
vac = fock(2, 0) # but in guide in that place this: vac = basis(2, 0)
Sincerely,
Pavel Makarov.
ssawarn commented
Can you tell the exact notebook referred here so that I may look?
mkPavel commented
Sure.
Notebook on the github: https://github.com/qutip/qutip-notebooks/blob/master/docs/guide/StatesOperators.ipynb
A direct link on the official website is https://qutip.org/docs/latest/guide/guide-states.html#qubit-two-level-systems