+
    ‹°³jÕ  ã                   óT   € ^ RI HtHtHt ^ RIHtHtHtHtH	t	 ^ RI
Ht R tR tR tR# )é    )ÚSÚpiÚRational)ÚhermiteÚsqrtÚexpÚ	factorialÚAbs)Úhbarc                ó|  € \        \        WW#.4      w  rr#W#,          \        ,          pV\        ,          \	        ^^4      ,          \        ^^V ,          \        V 4      ,          ,          4      ,          pV\        V) V^,          ,          ^,          4      ,          \        V \        V4      V,          4      ,          # )aþ  
Returns the wavefunction psi_{n} for the One-dimensional harmonic oscillator.

Parameters
==========

n :
    the "nodal" quantum number.  Corresponds to the number of nodes in the
    wavefunction.  ``n >= 0``
x :
    x coordinate.
m :
    Mass of the particle.
omega :
    Angular frequency of the oscillator.

Examples
========

>>> from sympy.physics.qho_1d import psi_n
>>> from sympy.abc import m, x, omega
>>> psi_n(0, x, m, omega)
(m*omega)**(1/4)*exp(-m*omega*x**2/(2*hbar))/(hbar**(1/4)*pi**(1/4))

)	Úmapr   r   r   r   r   r	   r   r   )ÚnÚxÚmÚomegaÚnuÚCs   &&&&  ÚU/home/luca/screen-checking/.venv/lib/python3.14/site-packages/sympy/physics/qho_1d.pyÚpsi_nr      s‡   € ô8 œ˜Q 1Ð,Ó-�N€Aˆ!Ø	
�”TÕ	€Bà	ŒB�”˜!˜Q“Õ¤$ q¨!¨Q­$¬y¸«|Õ*;Õ'<Ó"=Õ=€AàŒs�B�3˜˜1�•9˜a•<Ó Õ ¤7¨1¬d°2«h°q­jÓ#9Õ9Ð9ó    c                óT   € \         V,          V \        P                  ,           ,          # )aÄ  
Returns the Energy of the One-dimensional harmonic oscillator.

Parameters
==========

n :
    The "nodal" quantum number.
omega :
    The harmonic oscillator angular frequency.

Notes
=====

The unit of the returned value matches the unit of hw, since the energy is
calculated as:

    E_n = hbar * omega*(n + 1/2)

Examples
========

>>> from sympy.physics.qho_1d import E_n
>>> from sympy.abc import x, omega
>>> E_n(x, omega)
hbar*omega*(x + 1/2)
)r   r   ÚHalf)r   r   s   &&r   ÚE_nr   *   s   € ô: �%�<˜1œqŸv™v�:Õ&Ð&r   c                ó”   € \        \        V4      ^,          ) ^,          4      W,          ,          \        \        V 4      4      ,          # )zê
Returns <n|alpha> for the coherent states of 1D harmonic oscillator.
See https://en.wikipedia.org/wiki/Coherent_states

Parameters
==========

n :
    The "nodal" quantum number.
alpha :
    The eigen value of annihilation operator.
)r   r
   r   r	   )r   Úalphas   &&r   Úcoherent_stater   J   s3   € ô ”�U“˜Q•ˆ˜qÕ Ó! 5¥8Õ,¬T´)¸A³,Ó-?Õ?Ð?r   N)Ú
sympy.corer   r   r   Úsympy.functionsr   r   r   r	   r
   Úsympy.physics.quantum.constantsr   r   r   r   © r   r   Ú<module>r!      s&   ðß &Ñ &ß >Õ >Ý 0ò!:òH'ô@@r   