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 |
---|
- Functions
- Numeral systems
|
---|
|
|
|
|
---|
| mvar | individual italicized maths variables in normal text |
overline
underline | a line set above/below a sequence of characters | overarc | an arc set above a sequence of characters |
overset
underset | 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}} ) |
sub
sup
su | 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. |
|
|
|
|
|