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

From blackwiki
Jump to navigation Jump to search
imported>Maschen
imported>Maschen
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
  
This is for a producing [[quantum state]] covector in [[bra–ket notation]], using wikicode, ideally with {{tl|math}}, as an alternative to [[LaTeX]] in <nowiki><math></nowiki> mode.
+
This is for a producing [[Bra–ket notation#Inner products and bras|inner product]]s of [[quantum state]]s in [[bra–ket notation]], using wikicode, ideally with {{tl|math}}, as an alternative to [[LaTeX]] in <nowiki><math></nowiki> mode.
  
 
This template uses {{tl|braket}}.
 
This template uses {{tl|braket}}.
Line 7: Line 7:
 
==Application==
 
==Application==
  
There are two parameters, which is the text to be displayed as the bra covector and ket vector labels.
+
There are two parameters, which is the text to be displayed as the bra and ket labels.
  
 
==Examples==
 
==Examples==
Line 19: Line 19:
 
==See also==
 
==See also==
  
*[[Template:bra/sandbox]]
+
*[[Template:bra-ket/sandbox]]
 
*{{tl|ket}}
 
*{{tl|ket}}
 
*{{tl|bra}}
 
*{{tl|bra}}

Revision as of 06:13, 15 April 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

A bra can be written: ⟨Ψ|, that is {{bra|Ψ}}.

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}}, a bra can be written: ⟨ψ|ξTemplate:Rangle, that is {{math|{{bra-ket|ψ|ξ}}}}.

See also