summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/blochsphere/example.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-08-17 22:16:32 +0000
committerKarl Berry <karl@freefriends.org>2015-08-17 22:16:32 +0000
commitb1d20363871115b9069612379a4904914558483f (patch)
tree62cbd89556a7d67cc5d32ac072b3379f475693e6 /Master/texmf-dist/doc/latex/blochsphere/example.tex
parentc970c7a71b932db2126f7e23ee447c74de7d6d81 (diff)
blochsphere (17aug15)
git-svn-id: svn://tug.org/texlive/trunk@38137 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/blochsphere/example.tex')
-rw-r--r--Master/texmf-dist/doc/latex/blochsphere/example.tex30
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/blochsphere/example.tex b/Master/texmf-dist/doc/latex/blochsphere/example.tex
new file mode 100644
index 00000000000..42cae462698
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/blochsphere/example.tex
@@ -0,0 +1,30 @@
+\documentclass{standalone}
+
+\usepackage{blochsphere}
+
+\begin{document}
+
+\begin{blochsphere}[radius=1.5 cm,tilt=15,rotation=-20]
+ \drawBallGrid[style={opacity=0.1}]{30}{30}
+
+ \drawGreatCircle[style={dashed}]{-60}{0}{0}
+ \drawGreatCircle[style={dashed}]{60}{0}{0}
+
+ \drawRotationLeft[scale=1.3,style={red}]{-60}{0}{0}{15}
+ \drawRotationRight[scale=1.3,style={red}]{60}{0}{0}{15}
+
+ \node at (-0.8,1.9) {\textcolor{red}{\tiny $J_{12}(t)$}};
+ \node at (1.1,1.8) {\textcolor{red}{\tiny $J_{23}(t)$}};
+
+ \labelLatLon{up}{90}{0};
+ \labelLatLon{down}{-90}{90};
+ \node[above] at (up) {{\tiny $\left|1\right>$ }};
+ \node[below] at (down) {{\tiny $\left|0\right>$}};
+
+ \labelLatLon[labelmark=false]{d}{15}{90};
+ \node at (d) {\color{gray}\fontsize{0.15cm}{1em}\selectfont $60^\circ$};
+
+ \labelLatLon[labelmark=false]{d2}{5}{78};
+ \node at (d2) {\color{gray}\fontsize{0.15cm}{1em}\selectfont $60^\circ$};
+\end{blochsphere}
+\end{document}