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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Funandtrvl
(nvbx)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
 
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 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.
  
Line 6: Line 5:
  
 
==Application==
 
==Application==
 
 
There are two parameters, which is the text to be displayed as the bra and ket labels.
 
There are two parameters, which is the text to be displayed as the bra and ket labels.
  
 
==Examples==
 
==Examples==
 
 
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 {{ket|ξ}} and {{ket|ψ}} can be written: {{bra-ket|ψ|ξ}} = {{bra-ket|ξ|ψ}}<sup>†</sup>, that is <code><nowiki>{{bra-ket|ψ|ξ}} = {{bra-ket|ξ|ψ}}<sup>†</sup></nowiki></code>.
  
Line 16: Line 13:
  
 
==See also==
 
==See also==
*{{tl|ket}}
+
{{Math templates |notation}}
*{{tl|bra}}
 
*{{tl|rangle}}
 
*{{tl|langle}}
 
  
 
<includeonly>
 
<includeonly>

Revision as of 21:46, 17 April 2014

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