Template:Ket/doc

Template page

This is for producing quantum state vectors in bra–ket notation, using wikicode, ideally with {{math}}, as an alternative to LaTeX in <math> mode.

This template uses {{braket}}.

Application

There is one parameter, which is the text to be displayed as the ket label.

Examples

A ket can be written: |Ψ⟩, that is {{ket|Ψ}}.

Using {{math}}, a ket can be written: <span class="texhtml " {{#if:|Ψ⟩, that is {{math|{{ket|Ψ}}}}.

Schrödinger equation

In wiki-markup rather than LaTeX:

<span class="texhtml " {{#if:d/dt|ψ(t)⟩ = Ĥ|ψ(t)⟩

that is,

{{math|1=''iħ''{{sfrac|''d''|''dt''}}{{ket|''ψ''(''t'')}} = ''Ĥ''{{ket|''ψ''(''t'')}}}}

See also