This is for a producing inner products of quantum states in bra–ket notation, using wikicode, ideally with ((math )), as an alternative to LaTeX in <math> mode.
This template uses ((braket )).
There are two parameters, which is the text to be displayed as the bra and ket labels.
The inner product of the kets |ξ⟩ and |ψ⟩ can be written: ⟨ψ|ξ⟩ = ⟨ξ|ψ⟩ † , that is ((bra-ket|ψ|ξ)) = ((bra-ket|ξ|ψ))<sup>†</sup>
.
Using ((math )), the inner product can be written: ⟨ψ|ξ⟩ , that is ((math|((bra-ket|ψ|ξ))))
.
Math templates
Conversions
decdeg degrees, minutes, and seconds to decimal degrees deg2dms decimal degrees to degrees, minutes, and seconds deg2hms decimal degrees to hour angle (in hours, minutes, and seconds) hms2deg hour angle (in hours, minutes, and seconds) to decimal degrees inflation calculate inflation of Consumer Price Index-related prices pop density population density in an area track gauge railway track gauges
Notation and formatting
bigmath bigger font to match TeX \displaystyle (standalone formulas only) bra–ket notation ceil , floor calculations :mw:Help:#expr ; formatting indicators ⌈3.14⌉ , ⌊ 3.14⌋ (no calculation performed) fraction slant fractions 3 ⁄5 (not for maths/science articles; use standing or upright fractions ((sfrac )) instead) intmath integral symbols angular brackets multiline delimiters (2–5 lines inclusive) abs absolute values (paired vertical lines) math short text-based formulas mathcal [mathematical] calligraphic font; alternative to LaTeX \mathcal{...}
mvar individual italicized maths variables in normal text a line set above/below a sequence of characters overarc an arc set above a sequence of characters arbitrary characters/diacritics set above/below one another pars parentheses that can be resized ( ∑ ) sfrac "standing" or upright fractions 3 / 5 (use in maths/science articles instead of((fraction )) ) subscripts and superscripts tmath Wrap TeX in <math> tags tombstone symbol indicating the end of a proof val measurement values, uncertainties and units vec various overarrows, underarrows, etc.