+
    iA                     @   R t ^ RIHtHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
Ht ^ RIHt ^ RIHt ^ RIHt ^ R	IHtHtHtHt ^ R
IHtHt ^ RIHtHtHtHtHtHtH t H!t!H"t"H#t#H$t$H%t%H&t&H't' ^ RI(H)t) ]! R4      w  t*t+t,t-t.t/t0t1]! R4      w  t2t3t4t5R t6]R 4       t7R t8R t9R# )zTests for cartesian.py)Ipi)S)symbols)exp)sqrt)
DiracDelta)Interval)XFAIL)qapply	representL2Dagger)
Commutatorhbar)XOpYOpZOpPxOpXYZPxXKetXBraPxKetPxBraPositionKet3DPositionBra3D)DifferentialOperatorzx,y,z,x_1,x_2,x_3,y_1,z_1zpx py px_1 px_2c                  n	   \         P                  \        \        \        P
                  \        P                  4      4      8X  g   Q h\        \         \        4      P                  4       \        \        ,          8X  g   Q h\        \         \        \        4      ,          4      \        \        \        4      ,          8X  g   Q h\        \        4      P                  4       \         8X  g   Q h\!        \        4      P                  4       \        8X  g   Q h\#        \        \$        4      4      \        \        4      ,          P                  4       \'        \        \$        ,
          4      8X  g   Q h\)        \*        4      \        \        4      ,          P                  4       \-        \        ) \        ,          \*        ,          \        ,          4      \/        ^\0        ,          \        ,          4      ,          8X  g   Q h\3        \        \        4      4      \'        \        \4        ,
          4      8X  g   Q h\3        \!        \        4      4      \'        \        ) \4        ,           4      8X  g   Q h\!        \        4      P6                  \        8X  g   Q h\3        \9        4       \        4       ,          4      \        \'        \        \:        ,
          4      ,          8X  g   Q h\3        \!        R4      \        4       ,          4      \'        \        \$        ,
          4      8X  g   Q h\3        \        4       \!        4       ,          4      \'        \        \:        ,
          4      \'        \4        \        ,
          4      ,          8X  g   Q h\3        \9        4       \<        R7      p V \        \        ,          \'        \>        \@        ,
          4      ,          \C        \>        4      ,          8X  g   Q hV \3        \9        4       \=        4       R7      8X  g   Q hV \3        \9        4       \D        R7      8X  g   Q hV \3        \9        4       \E        4       R7      8X  g   Q h\3        \9        4       \E        4       ,          \D        R7      \        \        ,          \'        \*        \@        ,
          4      ,          \C        \*        4      ,          8X  g   Q hR# )   ybasisN)#r   hilbert_spacer   r	   r   NegativeInfinityInfinityr   r   doitr   r   r   r   x
dual_classr   r   r"   r   r   pxr   r   r   r   x_1positionr   x_2r   px_1px_2r   r   )rep_ps    h/var/www/html/photoedit/myenv/lib/python3.14/site-packages/sympy/physics/quantum/tests/test_cartesian.pytest_xr3      s   ??b!*<*<ajj!IJJJJa!!#qv---!DG)$q'	)))74'''74'''47ODG#))+z!a%/@@@@"Id1g##%QBqDGDL$qtDy/)* * *T!WAG!4444T!WQBH!55557q   SU46\"a
1s7(;&;;;;T#Ytv%&*QU*;;;;tv$QW-
370CCD D D ce4(EDF:dTk223G3MMMMMIce462222Ice51111Ice573333SU57]%0Qz"t)$$%9"%==> > >    c                      \        \        4       \        4       ,          \        R 4      ,          4      \        \        \        \        ,
          4      ,          \        \        \        ,
          4      ,          8X  g   Q hR# )r"   N)	r   r   r   r   r)   r   x_3r,   r"    r4   r2   _text_x_brokenr8   3   sK     SU46\$s)+,	*QW
jq112 2 2r4   c                  p   \         P                  \        \        \        P
                  \        P                  4      4      8X  g   Q h\        \         \        \        4      ,          4      \        \        \        4      ,          8X  g   Q h\        \        4      P                  4       \        8X  g   Q h\        \        4      P                  4       \        8X  g   Q h\        \        \        4      4      \        \        4      ,          P                  4       \!        \        \        ,
          4      8X  g   Q h\#        \        4      \        \        4      ,          P                  4       \%        \&        \        ,          \        ,          \(        ,          4      \+        ^\,        ,          \(        ,          4      ,          8X  g   Q h\/        \        \        4      4      \!        \        \0        ,
          4      8X  g   Q h\/        \3        4       \4        R7      p V \(        ) \&        ,          \!        \6        \8        ,
          4      ,          \;        \6        4      ,          8X  g   Q hV \/        \3        4       \5        4       R7      8X  g   Q hV \/        \3        4       \<        R7      8X  g   Q hV \/        \3        4       \=        4       R7      8X  g   Q h\/        \3        4       \=        4       ,          \<        R7      \(        ) \&        ,          \!        \        \8        ,
          4      ,          \;        \        4      ,          8X  g   Q h\/        \#        R4      \3        4       ,          \=        4       ,          \<        R7      \(        ) \&        ,          \!        \        \>        ,
          4      ,          \;        \        4      ,          8X  g   Q hR# )r!   r#   r"   N) r   r%   r   r	   r   r&   r'   r   r   r+   r*   r   r)   r   pyr(   r   r   r   r   r   r   r   r   r/   r   r   r,   r.   r   r   r"   )rep_xs    r2   test_pr<   =   s8   r(1+=+=qzz"JKKKK"U2Y,2eBi<///9!U***8 E)))59eBi'--/:b2g3FFFFGE"I##%AaCF4Kad4i() ) )U2Y:b4i#8888dfC(ETE!GJsSy112Fs2KKKKKIdfCE2222IdfD1111IdfDF3333TVDF]$/	a
1s7##$8$;;< < <T#Ytv%df,D9	a
1q5!!"6q"99: : :r4   c                     \         P                  \        \        \        P
                  \        P                  4      4      8X  g   Q h\        P                  \        \        \        P
                  \        P                  4      4      8X  g   Q h\        \        \        \        4      p \        \        V ,          4      \        V ,          8X  g   Q h\        \         V ,          4      \        V ,          8X  g   Q h\        \        V ,          4      \        V ,          8X  g   Q h\        \        \         ,          V ,          4      \        \        ,          V ,          8X  g   Q h\        \        \         ,          \        ,          V ,          4      \        \        ,          \        ,          V ,          8X  g   Q h\        \         \        ,          V ,          4      \        \        ,          V ,          8X  g   Q h\        4       V 8X  g   Q h\        4       \         8X  g   Q h\        4       \        8X  g   Q h\        P                   ! 4       \"        8X  g   Q h\"        P                   ! 4       \        8X  g   Q h\        \$        \&        \(        4      p\+        V4      V ,          P-                  4       \/        \        \$        ,
          4      \/        \        \&        ,
          4      ,          \/        \        \(        ,
          4      ,          8X  g   Q hV P0                  \        8X  g   Q hV P2                  \        8X  g   Q hV P4                  \        8X  g   Q hVP0                  \$        8X  g   Q hVP2                  \&        8X  g   Q hVP4                  \(        8X  g   Q hR # )N)r   r%   r   r	   r   r&   r'   r   r   r)   r"   zr   r   r   r   r*   r   r,   y_1z_1r   r(   r   
position_x
position_y
position_z)test_ket	other_kets     r2   
test_3dposrF   S   sT   ??b!*<*<ajj!IJJJJ??b!*<*<ajj!IJJJJQ1%H!H*8+++!H*8+++!H*8+++!A#h,1Q3x<///!A#a%.!QqSU8^333!A#h,1Q3x<///?h&&&5A::5A::##%666##%666c3,I9h&,,.1s7Jq3w//
1s70CCD D D !###!###!###3&&&3&&&3&&&r4   N):__doc__sympy.core.numbersr   r   sympy.core.singletonr   sympy.core.symbolr   &sympy.functions.elementary.exponentialr   (sympy.functions.elementary.miscellaneousr   'sympy.functions.special.delta_functionsr   sympy.sets.setsr	   sympy.testing.pytestr
   sympy.physics.quantumr   r   r   r   r   r   sympy.physics.quantum.cartesianr   r   r   r   r   r   r   r   r   r   r   r   r   r   sympy.physics.quantum.operatorr   r)   r"   r>   r,   r.   r6   r?   r@   r+   r:   r/   r0   r3   r8   r<   rF   r7   r4   r2   <module>rS      s     & " % 6 9 > $ & ? ? 2    @#*+F#G  1ac3S./ Bd>6 2 2:,'r4   