Site Tools


test2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
test2 [August 24, 2026 at 15:02] Ivan Janevskitest2 [August 24, 2026 at 15:14] (current) Ivan Janevski
Line 5: Line 5:
 \begin{document} \begin{document}
  
-\begin{blochsphere}[radius=3cm,tilt=15,rotation=-20,ball=circle]+\def\thetaAngle{90} 
 +\def\phiAngle{0} 
 + 
 +\begin{blochsphere}[radius=2cm,tilt=15,rotation=-20,ball=circle]
  
     \drawBallGrid[style={opacity=0.15}]{30}{30}     \drawBallGrid[style={opacity=0.15}]{30}{30}
Line 13: Line 16:
     \drawStatePolar[axisarrow=true,statewidth=0.3]{zaxis}{0}{0}     \drawStatePolar[axisarrow=true,statewidth=0.3]{zaxis}{0}{0}
  
-    \node[right] at (xaxis) {$x$}; +    %\node[left] at (xaxis) {$x$}; 
-    \node[left] at (yaxis) {$y$};+    \node[right] at (yaxis) {$y$};
     \node[above] at (zaxis) {$z$};     \node[above] at (zaxis) {$z$};
  
-    \drawStatePolar[statecolor=red,statewidth=0.7]{state}{90}{180+    \drawStatePolar[statecolor=red,statewidth=0.7]{state}{\thetaAngle}{90-\phiAngle
-    \node[right] at (state) {$|\psi\rangle$};+    \node[below right] at (state) {$|+\rangle$};
  
     \labelLatLon{north}{90}{0}     \labelLatLon{north}{90}{0}
     \labelLatLon{south}{-90}{0}     \labelLatLon{south}{-90}{0}
 +
     \node[above] at (north) {$|0\rangle$};     \node[above] at (north) {$|0\rangle$};
     \node[below] at (south) {$|1\rangle$};     \node[below] at (south) {$|1\rangle$};
- 
-    % theta sector 
-    \fill[opacity=0.15] 
-        (0,0) -- 
-        (90:0.48) arc[start angle=90,end angle=40,radius=0.48] -- 
-        cycle; 
-    \draw[->] 
-        (90:0.48) arc[start angle=90,end angle=40,radius=0.48]; 
-    \node at (65:0.62) {$\theta$}; 
- 
-    % phi sector 
-    \begin{scope}[xscale=1,yscale=0.32,rotate=-20] 
-        \fill[opacity=0.15] 
-            (0,0) -- 
-            (0:0.65) arc[start angle=0,end angle=40,radius=0.65] -- 
-            cycle; 
-        \draw[->] 
-            (0:0.65) arc[start angle=0,end angle=40,radius=0.65]; 
-        \node at (20:0.82) {$\phi$}; 
-    \end{scope} 
  
 \end{blochsphere} \end{blochsphere}
  
 \end{document} \end{document}
test2.1787583737.md.gz · Last modified: by Ivan Janevski