Difference between revisions of "Template:Braket/doc"
imported>Maschen (first stab) |
imported>Maschen (→See also: link to Template:Braket/sandbox) |
||
| Line 45: | Line 45: | ||
==See also== | ==See also== | ||
| + | *[[Template:Braket/sandbox]] | ||
*{{tl|rangle}} | *{{tl|rangle}} | ||
*{{tl|langle}} | *{{tl|langle}} | ||
Revision as of 19:18, 10 February 2013
| This is a documentation subpage for Template:Braket. It contains usage information, categories and other content that is not part of the original 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.
Application
It's very easy to use. There are three parameters, use as many as needed in this order:
- Brakets: choose one of:
- bra (for a bra vector),
- ket (for a ket vector), or
- braket (for the inner product).
- 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: enter the symbol for the bra part of the inner product.
- Symbol 2:
- if 1 is set to bra or ket: this parameter is not needed.
- if 1 is set to braket: enter the symbol for the ket part of the inner 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: ⟨ψ|, that is {{braket|bra|ψ}}.
Using {{math}}; a bra can be written: ⟨ψ|, that is {{math|{{braket|bra|ψ}}}}.
- 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>}}.
See also
- Template:Braket/sandbox
- {{rangle}}
- {{langle}}