o
    §ƒðjŒ  ã                   @   sZ   d Z ddlmZ ddlmZ ddlmZ ddlmZ	 ddgZ
G dd„ deed	�Zeƒ ZdS )
z3Constants (like hbar) related to quantum mechanics.é    )ÚNumberSymbol)Ú	Singleton)Ú
prettyFormNÚhbarÚHBarc                   @   sL   e Zd ZdZdZdZdZdZdZdd„ Z	dd„ Z
d	d
„ Zdd„ Zdd„ ZdS )r   a*  Reduced Plank's constant in numerical and symbolic form [1]_.

    Examples
    ========

        >>> from sympy.physics.quantum.constants import hbar
        >>> hbar.evalf()
        1.05457162000000e-34

    References
    ==========

    .. [1] https://en.wikipedia.org/wiki/Planck_constant
    TF© c                 C   s   t  d|¡S )NgÉècÎ¦…á8)ÚmlibÚ
from_float)ÚselfÚprecr   r   ú¡/tmp/claude-1000/-var-www-html-academy/3f42efd1-c2b7-4d08-9b05-30d86bb35479/scratchpad/piper/venv/lib/python3.10/site-packages/sympy/physics/quantum/constants.pyÚ_as_mpf_val)   s   zHBar._as_mpf_valc                 G   ó   dS )NzHBar()r   ©r
   ÚprinterÚargsr   r   r   Ú
_sympyrepr,   ó   zHBar._sympyreprc                 G   r   )Nr   r   r   r   r   r   Ú	_sympystr/   r   zHBar._sympystrc                 G   s   |j rtdƒS tdƒS )Nu   â„�r   )Ú_use_unicoder   r   r   r   r   Ú_pretty2   s   zHBar._prettyc                 G   r   )Nz\hbarr   r   r   r   r   Ú_latex7   r   zHBar._latexN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úis_realÚis_positiveÚis_negativeÚis_irrationalÚ	__slots__r   r   r   r   r   r   r   r   r   r      s    )Ú	metaclass)r   Úsympy.core.numbersr   Úsympy.core.singletonr   Ú sympy.printing.pretty.stringpictr   Úmpmath.libmpÚlibmpr   Ú__all__r   r   r   r   r   r   Ú<module>   s    þ
)