K ihdZddlmZddlmZddlmZddlmZ ddgZ Gddee Z e Z y) z3Constants (like hbar) related to quantum mechanics.) NumberSymbol) Singleton) prettyFormNhbarHBarcBeZdZdZdZdZdZdZdZdZ dZ dZ dZ d Z y ) ra*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 TFc.tjd|S)NgcΦ8)mlib from_float)selfprecs e/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/sympy/physics/quantum/constants.py _as_mpf_valzHBar._as_mpf_val)s~t44cy)NzHBar()r r printerargss r _sympyreprzHBar._sympyrepr,rcy)Nrr rs r _sympystrzHBar._sympystr/srcF|jr tdStdS)Nuℏr) _use_unicoderrs r_prettyz HBar._pretty2s"   ?@ @&!!rcy)Nz\hbarr rs r_latexz HBar._latex7rrN)__name__ __module__ __qualname____doc__is_real is_positive is_negative is_irrational __slots__rrrrrr rrrrs; GKKMI5" r) metaclass) r"sympy.core.numbersrsympy.core.singletonr sympy.printing.pretty.stringpictr mpmath.libmplibmpr __all__rrr rrr/s;9+*7    &<9&R vr