meta:scratch
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| meta:scratch [August 13, 2026 at 18:47] – Ivan Janevski | meta:scratch [August 13, 2026 at 18:54] (current) – Ivan Janevski | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | \documentclass[tikz, | + | \documentclass{standalone} |
| - | \usepackage{amsmath} | + | |
| \usepackage{tikz} | \usepackage{tikz} | ||
| + | \usepackage{mathtools} | ||
| \usetikzlibrary{arrows.meta} | \usetikzlibrary{arrows.meta} | ||
| \begin{document} | \begin{document} | ||
| - | \begin{tikzpicture}[scale=2] | + | \begin{tikzpicture}[line cap=round, line join=round, > |
| - | % Sphere | + | \clip(-2.19,-2.49) rectangle |
| - | | + | \draw [shift={(0,0)}, lightgray, fill, fill opacity=0.1] (0,0) -- (56.7:0.4) arc (56.7:90.:0.4) -- cycle; |
| - | + | \draw [shift={(0,0)}, lightgray, fill, fill opacity=0.1] (0,0) -- (-135.7:0.4) arc (-135.7:-33.2:0.4) -- cycle; | |
| - | % Equator | + | |
| - | | + | \draw [rotate around={0.:(0.,0.)},dash pattern=on 3pt off 3pt] (0,0) ellipse (2cm and 0.9cm); |
| - | \draw (1,0) arc (0:180:1 and 0.30); | + | \draw (0,0)-- (0.70,1.07); |
| - | + | \draw [->] (0,0) -- (0,2); | |
| - | % Axes | + | \draw [->] (0,0) -- (-0.81,-0.79); |
| - | | + | \draw [->] (0,0) -- (2,0); |
| - | \draw[-{Stealth}] (0,0) -- (0,-1.30) node[below] {$\lvert 1\rangle$}; | + | \draw [dotted] (0.7,1)-- (0.7,-0.46); |
| - | \draw[-{Stealth}] (0,0) -- (1.25,0.38) node[right] {$x$}; | + | \draw [dotted] (0,0)-- (0.7,-0.46); |
| - | \draw[-{Stealth}] (0,0) -- (-1.10,0.55) node[left] {$y$}; | + | \draw (-0.08,-0.3) node[anchor=north west] {$\varphi$}; |
| - | + | \draw (0.01,0.9) node[anchor=north west] {$\theta$}; | |
| - | % State vector | + | \draw (-1.01,-0.72) node[anchor=north west] {$\mathbf {\hat{x}}$}; |
| - | | + | \draw (2.07,0.3) node[anchor=north west] {$\mathbf {\hat{y}}$}; |
| - | \draw[very thick,-{Stealth}] (0,0) -- (psi) node[above right] {$\lvert\psi\rangle$}; | + | \draw (-0.5,2.6) node[anchor=north west] {$\mathbf {\hat{z}=|0\rangle}$}; |
| - | + | \draw (-0.4,-2) node[anchor=north west] {$-\mathbf {\hat{z}=|1\rangle}$}; | |
| - | % Polar angle | + | \draw (0.4,1.65) node[anchor=north west] {$|\psi\rangle$}; |
| - | | + | |
| - | \node at (0.16,0.43) {$\theta$}; | + | \draw [fill] (0,0) circle (1.5pt); |
| - | + | \draw [fill] (0.7,1.1) circle (0.5pt); | |
| - | % State point | + | |
| - | \fill (psi) circle (0.025); | + | |
| \end{tikzpicture} | \end{tikzpicture} | ||
| \end{document} | \end{document} | ||
| + | |||
meta/scratch.1786646860.md.gz · Last modified: by Ivan Janevski
