Debian Codegraph @

texmf-dist/doc/latex/blochsphere/example.tex

raw
1 \documentclass{standalone}
2
3 \usepackage{blochsphere}
4
5 \begin{document}
6
7 \begin{blochsphere}[radius=1.5 cm,tilt=15,rotation=-20]
8 \drawBallGrid[style={opacity=0.1}]{30}{30}
9
10 \drawGreatCircle[style={dashed}]{-60}{0}{0}
11 \drawGreatCircle[style={dashed}]{60}{0}{0}
12
13 \drawRotationLeft[scale=1.3,style={red}]{-60}{0}{0}{15}
14 \drawRotationRight[scale=1.3,style={red}]{60}{0}{0}{15}
15
16 \node at (-0.8,1.9) {\textcolor{red}{\tiny $J_{12}(t)$}};
17 \node at (1.1,1.8) {\textcolor{red}{\tiny $J_{23}(t)$}};
18
19 \labelLatLon{up}{90}{0};
20 \labelLatLon{down}{-90}{90};
21 \node[above] at (up) {{\tiny $\left|1\right>$ }};
22 \node[below] at (down) {{\tiny $\left|0\right>$}};
23
24 \labelLatLon[labelmark=false]{d}{15}{90};
25 \node at (d) {\color{gray}\fontsize{0.15cm}{1em}\selectfont $60^\circ$};
26
27 \labelLatLon[labelmark=false]{d2}{5}{78};
28 \node at (d2) {\color{gray}\fontsize{0.15cm}{1em}\selectfont $60^\circ$};
29 \end{blochsphere}
30 \end{document}