![如何在 TikZ LaTeX 中绘制量子测量](https://linux22.com/image/476023/%E5%A6%82%E4%BD%95%E5%9C%A8%20TikZ%20LaTeX%20%E4%B8%AD%E7%BB%98%E5%88%B6%E9%87%8F%E5%AD%90%E6%B5%8B%E9%87%8F.png)
答案1
以下是改编自使用 TikZ 测量仪表量子电路@Jasper Habicht 的。
\documentclass[12pt]{article}
\usepackage{circuitikz}
\usetikzlibrary{arrows,decorations.pathreplacing}
\begin{document}
\tikzset{meter/.append style={draw, inner sep=10, rectangle, font=\vphantom{A}, minimum width=30, line width=.8, path picture={\draw[black] ([shift={(.1,.3)}]path picture bounding box.south west) to[bend left=50] ([shift={(-.1,.3)}]path picture bounding box.south east);\draw[black,-{Latex[length=8mm, width=1.8mm]}] ([shift={(0,.2)}]path picture bounding box.south) -- ([shift={(.4,-.1)}]path picture bounding box.north);}}}
\begin{circuitikz}
\node[meter] (meter) at (0,0) {};
\end{circuitikz}
\end{document}