Braket in LaTeX (\langle \phi | \psi \rangle)

⟨ϕ∣ψ⟩\langle \phi | \psi \rangle
LaTeX command
\langle \phi | \psi \rangle
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Inner product of two states, a bra meeting a ket; its squared modulus gives a transition probability.

The amplitude \langle \phi | \psi \rangle is conjugate-symmetric, \langle \phi | \psi \rangle = \langle \psi | \phi \rangle^*, and normalization reads \langle \psi | \psi \rangle = 1. Matrix elements sandwich an operator: \langle \phi | \hat{A} | \psi \rangle. Use a plain | in the middle rather than \mid, whose relation spacing pushes the halves apart. For tall contents, \left\langle \phi \middle| \psi \right\rangle makes the middle bar grow too. Mathematicians write the same thing as (\phi, \psi) or \langle \phi, \psi \rangle with a comma.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

P=∣⟨ϕ∣ψ⟩∣2P = |\langle \phi | \psi \rangle|^2
\documentclass{article}
\begin{document}
Braket: $\langle \phi | \psi \rangle$

\[ P = |\langle \phi | \psi \rangle|^2 \]
\end{document}

Related symbols

All 물리학 →

Frequently asked questions

How do I write Braket in LaTeX?
Type \langle \phi | \psi \rangle in math mode, for example $P = |\langle \phi | \psi \rangle|^2$. It works in plain LaTeX without loading any package.
Which package do I need for \langle \phi | \psi \rangle?
None. \langle \phi | \psi \rangle is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \langle \phi | \psi \rangle in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\langle \phi | \psi \rangle$ in running text.
Math poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기