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:50] – 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{tikz-3dplot} | + | \usepackage{mathtools} |
| \usetikzlibrary{arrows.meta} | \usetikzlibrary{arrows.meta} | ||
| \begin{document} | \begin{document} | ||
| - | \tdplotsetmaincoords{70}{110} | + | \begin{tikzpicture}[line cap=round, line join=round, >=Triangle] |
| - | \begin{tikzpicture}[tdplot_main_coords,scale=2.5,>=Stealth] | + | |
| - | % Sphere | + | \draw [shift={(0, |
| - | \draw[tdplot_screen_coords] (0,0) circle | + | \draw [shift={(0,0)}, lightgray, fill, fill opacity=0.1] (0,0) -- (-135.7: |
| - | + | \draw(0,0) circle (2cm); | |
| - | % Equator | + | \draw [rotate around={0.: |
| - | | + | \draw (0,0)-- (0.70,1.07); |
| - | \tdplotdrawarc{(0,0,0)}{1}{180}{360}{}{} | + | \draw [->] (0,0) -- (0,2); |
| - | + | \draw [->] (0,0) -- (-0.81,-0.79); | |
| - | % Axes | + | \draw [->] (0,0) -- (2,0); |
| - | | + | \draw [dotted] (0.7,1)-- (0.7,-0.46); |
| - | \draw[-> | + | \draw [dotted] (0,0)-- (0.7,-0.46); |
| - | \draw[-> | + | \draw (-0.08,-0.3) node[anchor=north west] {$\varphi$}; |
| - | \draw[->] (0,0,0) -- (0,0,-1.3) node[below] {$\lvert1\rangle$}; | + | \draw (0.01,0.9) node[anchor=north west] {$\theta$}; |
| - | + | \draw (-1.01, | |
| - | % State | + | \draw (2.07,0.3) node[anchor=north west] {$\mathbf {\hat{y}}$}; |
| - | | + | \draw (-0.5,2.6) node[anchor=north west] {$\mathbf {\hat{z}=|0\rangle}$}; |
| - | \def\phi{40} | + | \draw (-0.4,-2) node[anchor=north west] {$-\mathbf |
| - | | + | \draw (0.4,1.65) node[anchor=north west] {$|\psi\rangle$}; |
| - | \draw[very thick, | + | |
| - | \node[above right] at (P) {$\lvert\psi\rangle$}; | + | \draw [fill] (0,0) circle (1.5pt); |
| - | \fill (P) circle | + | \draw [fill] (0.7,1.1) circle (0.5pt); |
| - | + | ||
| - | % Projection | + | |
| - | \draw[dashed] (P) -- (Pxy); | + | |
| - | \draw[dashed] | + | |
| - | + | ||
| - | % Theta | + | |
| - | | + | |
| - | \tdplotdrawarc[tdplot_rotated_coords, | + | |
| - | {anchor=south west}{$\theta$}; | + | |
| - | + | ||
| - | % Phi | + | |
| - | | + | |
| - | | + | |
| \end{tikzpicture} | \end{tikzpicture} | ||
| \end{document} | \end{document} | ||
| + | |||
meta/scratch.1786647040.md.gz · Last modified: by Ivan Janevski
