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:04] 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}
     \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: meridional plane containing the state 
-    \setLongitudinalDrawingPlane{\phiAngle} 
- 
-    \begin{scope}[current plane] 
-        \fill[opacity=0.15] 
-            (0,0) -- 
-            (90:0.75) 
-            arc[start angle=90,end angle={90-\thetaAngle},radius=0.75] 
-            -- cycle; 
- 
-        \draw[->] 
-            (90:0.75) 
-            arc[start angle=90,end angle={90-\thetaAngle},radius=0.75]; 
- 
-        \node at ({90-\thetaAngle/2}:0.95) {$\theta$}; 
-    \end{scope} 
  
 \end{blochsphere} \end{blochsphere}
  
 \end{document} \end{document}
test2.1787583866.md.gz · Last modified: by Ivan Janevski