Difference between revisions of "Template:Ket"

From blackwiki
Jump to navigation Jump to search
imported>Quondum
(Replacing redirect with template use, so that {{bra|ψ}} can be written instead of {{bra|bra|ψ}})
imported>Quondum
(Trying that again...)
 
Line 1: Line 1:
{{braket|{{{1}}}}}<noinclude>{{doc}}</noinclude>
+
{{braket|ket|{{{1}}}}}<noinclude>{{doc}}</noinclude>

Latest revision as of 01:36, 15 April 2013

|{{{1}}}Template:Rangle

Template documentation[view] [edit] [history] [purge]

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: Template:Rangle, that is {{ket|Ψ}}.

Using {{math}}, a ket can be written: Template:Rangle, that is {{math|{{ket|Ψ}}}}.

Schrödinger equation

In wiki-markup rather than LaTeX:

Template:Sfrac|ψ(t)Template:Rangle = Ĥ|ψ(t)Template:Rangle

that is,

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

See also