Template:Braket/doc

From blackwiki
< Template:Braket
Revision as of 20:59, 14 February 2013 by imported>Frietjes
Jump to navigation Jump to search
"Template:Dirac notation" redirects here.

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

Application

It's very easy to use. There are three parameters, use as many as needed in this order:

  1. Brackets: choose one of:
  2. Symbol 1:
    • if 1 is set to bra or ket: enter the first symbol for the bra or ket,
    • if 1 is set to braket or ketbra: enter the symbol for the bra part of the inner product, or ket part of the outer product.
  3. Symbol 2:
    • if 1 is set to bra or ket: this parameter is not needed.
    • if 1 is set to braket or ketbra: enter the symbol for the ket part of the inner product, or bra part of the outer product.

The symbols can of course be bold, italic, underlined, any unicode symbol, etc.

Examples

Ket

A ket can be written: Template:Rangle, that is {{braket|ket|ψ}}.

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

Bra

A bra can be written: ⟨ψ| = Template:Rangle, that is {{braket|bra|ψ}} = {{braket|ket|ψ}}<sup>†</sup>.

Using {{math}}, a bra can be written: ⟨ψ| = Template:Rangle, that is {{math|{{braket|bra|ψ}} {{=}} {{braket|ket|ψ}}<sup>†</sup>}}.

Braket

The inner product of the kets Template:Rangle and Template:Rangle can be written: = , that is {{braket|braket|ψ|ξ}} = {{braket|braket|ξ|ψ}}<sup>†</sup>.

Using {{math}}, the inner product of the kets Template:Rangle and Template:Rangle can be written: = , that is {{math|{{braket|braket|ψ|ξ}} {{=}} {{braket|braket|ξ|ψ}}<sup>†</sup>}}.

Ketbra

The outer product of the kets Template:Rangle and Template:Rangle can be written: = [], that is {{braket|ketbra|ψ|ξ}} = [{{braket|ketbra|ξ|ψ}}]<sup>†</sup>.

Using {{math}}, the outer product of the kets Template:Rangle and Template:Rangle can be written: = [], that is {{math|{{braket|ketbra|ψ|ξ}} {{=}} [{{braket|ketbra|ξ|ψ}}]<sup>†</sup>}}.

Schrödinger equation

In wiki-markup rather than LaTeX:

Template:Sfrac|Ψ(t)Template:Rangle = Ĥ|Ψ(t)Template:Rangle ↔ −⟨Ψ(t)|Template:Sfrac = ⟨Ψ(t)|Ĥ

that is,

{{math|''iħ''{{sfrac|''d''|''dt''}}{{braket|ket|Ψ(''t'')}} {{=}} ''Ĥ''{{braket|ket|Ψ(''t'')}} ↔ −''iħ''{{braket|bra|Ψ(''t'')}}{{sfrac|''d''|''dt''}} {{=}} {{braket|bra|Ψ(''t'')}}''Ĥ''}}

See also