Jump to content

Template:Bra-ket/doc

From Wikipedia, the free encyclopedia

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}}.

Application

[edit]

There are two parameters, which is the text to be displayed as the bra and ket labels.

Examples

[edit]

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|ψ|ξ}}}}.

See also

[edit]