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}
  
-\def\thetaAngle{50+\def\thetaAngle{90
-\def\phiAngle{40}+\def\phiAngle{0}
  
-\begin{blochsphere}[radius=3cm,tilt=15,rotation=-20,ball=circle]+\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 16: 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}{\thetaAngle}{\phiAngle} +    \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}
Line 28: Line 28:
     \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 
-    \fill[opacity=0.15] 
-        (0,0) -- 
-        (90:0.96) arc[start angle=90,end angle={90-\thetaAngle},radius=0.96] -- 
-        cycle; 
- 
-    \draw[->] 
-        (90:0.96) arc[start angle=90,end angle={90-\thetaAngle},radius=0.96]; 
- 
-    \node at ({90-\thetaAngle/2}:1.24) {$\theta$}; 
- 
-    % phi 
-    \begin{scope}[xscale=1,yscale=0.32,rotate=-20] 
- 
-        \fill[opacity=0.15] 
-            (0,0) -- 
-            (0:1.30) arc[start angle=0,end angle=\phiAngle,radius=1.30] -- 
-            cycle; 
- 
-        \draw[->] 
-            (0:1.30) arc[start angle=0,end angle=\phiAngle,radius=1.30]; 
- 
-        \node at ({\phiAngle/2}:1.64) {$\phi$}; 
- 
-    \end{scope} 
  
 \end{blochsphere} \end{blochsphere}
  
 \end{document} \end{document}
test2.1787583776.md.gz · Last modified: by Ivan Janevski