Difference between revisions of "Template:Bra-ket/doc"

From blackwiki
Jump to navigation Jump to search
imported>Maschen
imported>Maschen
(remove redundancy)
Line 11: Line 11:
 
==Examples==
 
==Examples==
  
A bra can be written: {{bra|Ψ}}, that is <code><nowiki>{{bra|Ψ}}</nowiki></code>.
+
The [[Bra–ket notation#Inner products and bras|inner product]] of the kets {{ket|ξ}} and {{ket|ψ}} can be written: {{bra-ket|ψ|ξ}} = {{bra-ket|ξ|ψ}}<sup>†</sup>, that is <code><nowiki>{{bra-ket|ψ|ξ}} = {{bra-ket|ξ|ψ}}<sup>†</sup></nowiki></code>.
  
The [[Bra–ket notation#Inner products and bras|inner product]] of the kets {{braket|ket|ξ}} and {{braket|ket|ψ}} can be written: {{bra-ket|ψ|ξ}} = {{bra-ket|ξ|ψ}}<sup>†</sup>, that is <code><nowiki>{{bra-ket|ψ|ξ}} = {{bra-ket|ξ|ψ}}<sup>†</sup></nowiki></code>.
+
Using {{tl|math}}, the inner product can be written: {{math|{{bra-ket|ψ|ξ}}}}, that is <code><nowiki>{{math|{{bra-ket|ψ|ξ}}}}</nowiki></code>.
 
 
Using {{tl|math}}, a bra can be written: {{math|{{bra-ket|ψ|ξ}}}}, that is <code><nowiki>{{math|{{bra-ket|ψ|ξ}}}}</nowiki></code>.
 
  
 
==See also==
 
==See also==

Revision as of 06:14, 12 June 2013

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

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

Examples

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

Using {{math}}, the inner product can be written: ⟨ψ|ξTemplate:Rangle, that is {{math|{{bra-ket|ψ|ξ}}}}.

See also