Site Tools


test1

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
test1 [August 24, 2026 at 14:52] Ivan Janevskitest1 [August 24, 2026 at 14:58] (current) Ivan Janevski
Line 6: Line 6:
  
 \begin{blochsphere}[ \begin{blochsphere}[
-    radius=1.5cm,+    radius=2.5cm,
     tilt=15,     tilt=15,
-    rotation=-20+    rotation=-30, 
 +    ball=circle
 ] ]
  
-    \drawBallGrid{30}{30}+    \drawBallGrid[style={opacity=0.25}]{30}{30}
  
-    % x, y, z axes +    \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}
-    \drawAxis{0}{0}+
  
-    % State vector: +    \node[rightat (xaxis) {$x$}; 
-    % label, polar angle theta, azimuth phi +    \node[left] at (yaxis) {$y$}; 
-    \drawStatePolar[draw=red, thick] +    %\node[above] at (zaxis) {$z$};
-        {$\lvert\psi\rangle$} +
-        {50+
-        {40}+
  
-    % Basis states +    \drawStatePolar[statecolor=red,statewidth=0.7]{state}{50}{40} 
-    \labelLatLon +    \node[right] at (state) {$|\psi\rangle$};
-        {$\lvert 0\rangle$} +
-        {90} +
-        {0}+
  
-    \labelLatLon +    \labelLatLon{north}{90}{0
-        {$\lvert 1\rangle$+    \labelLatLon{south}{-90}{0
-        {-90} + 
-        {0}+    \node[above] at (north) {$|0\rangle$}; 
 +    \node[below] at (south) {$|1\rangle$};
  
 \end{blochsphere} \end{blochsphere}
  
 \end{document} \end{document}
test1.1787583133.md.gz · Last modified: by Ivan Janevski