Site Tools


test1

Differences

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

Link to this comparison view

Next revision
Previous revision
test1 [August 24, 2026 at 14:51] – created Ivan Janevskitest1 [August 24, 2026 at 14:58] (current) Ivan Janevski
Line 5: Line 5:
 \begin{document} \begin{document}
  
-\begin{blochsphere}[radius=1.5 cm,tilt=15,rotation=-20] +\begin{blochsphere}[ 
-    \drawBallGrid[style={opacity=0.3}]{30}{30}+    radius=2.5cm, 
 +    tilt=15, 
 +    rotation=-30, 
 +    ball=circle 
 +]
  
-    \drawStatePolar[ +    \drawBallGrid[style={opacity=0.25}]{30}{30}
-        statecolor=red, +
-        statewidth=0.+
-    ]{\theta}{\phi}+
  
-    \drawAxis[style={dashed}]{0}{0} +    \drawStatePolar[axisarrow=true,statewidth=0.3]{xaxis}{90}{90} 
-    \drawAxis{90}{0} +    \drawStatePolar[axisarrow=true,statewidth=0.3]{yaxis}{90}{0} 
-    \drawAxis{90}{90}+    \drawStatePolar[axisarrow=true,statewidth=0.3]{zaxis}{0}{0} 
 + 
 +    \node[right] at (xaxis) {$x$}
 +    \node[left] at (yaxis) {$y$}; 
 +    %\node[above] at (zaxis) {$z$}; 
 + 
 +    \drawStatePolar[statecolor=red,statewidth=0.7]{state}{50}{40
 +    \node[right] at (state) {$|\psi\rangle$}; 
 + 
 +    \labelLatLon{north}{90}{0} 
 +    \labelLatLon{south}{-90}{0} 
 + 
 +    \node[above] at (north) {$|0\rangle$}; 
 +    \node[below] at (south) {$|1\rangle$};
  
-    \labelLatLon{up}{90}{0}{$\lvert 0\rangle$} 
-    \labelLatLon{down}{-90}{90}{$\lvert 1\rangle$} 
 \end{blochsphere} \end{blochsphere}
  
 \end{document} \end{document}
test1.1787583109.md.gz · Last modified: by Ivan Janevski