Site Tools


meta:scratch

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
meta:scratch [August 13, 2026 at 18:47] Ivan Janevskimeta:scratch [August 13, 2026 at 18:54] (current) Ivan Janevski
Line 1: Line 1:
-\documentclass[tikz,border=5pt]{standalone+\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, >=Triangle
-    % Sphere +  \clip(-2.19,-2.49rectangle (2.66,2.58); 
-    \draw (0,0circle (1); +  \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(0,0) circle (2cm); 
-    \draw[dashed] (-1,0) arc (180:360:1 and 0.30); +  \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[-{Stealth}] (0,0) -- (0,1.30node[above{$\lvert 0\rangle$}+  \draw [->] (0,0) -- (2,0); 
-    \draw[-{Stealth}] (0,0) -- (0,-1.30node[below] {$\lvert 1\rangle$}+  \draw [dotted] (0.7,1)-- (0.7,-0.46); 
-    \draw[-{Stealth}] (0,0) -- (1.25,0.38node[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.9node[anchor=north west] {$\theta$}
-    % State vector +  \draw (-1.01,-0.72) node[anchor=north west] {$\mathbf {\hat{x}}$}; 
-    \coordinate (psi) at (0.55,0.72); +  \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.6node[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.65node[anchor=north west] {$|\psi\rangle$}; 
-    \draw[->] (0,0.38arc[start angle=90,end angle=52,radius=0.38]; +  \scriptsize 
-    \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