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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Mgkrupa
(Added item)
 
(4 intermediate revisions by 4 users not shown)
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.
  
 
This template uses {{tl|braket}}.
 
This template uses {{tl|braket}}.
  
==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 15: Line 14:
 
Using {{tl|math}}, the inner product can be written: {{math|{{bra-ket|ψ|ξ}}}}, that is <code><nowiki>{{math|{{bra-ket|ψ|ξ}}}}</nowiki></code>.
 
Using {{tl|math}}, the inner product can be written: {{math|{{bra-ket|ψ|ξ}}}}, that is <code><nowiki>{{math|{{bra-ket|ψ|ξ}}}}</nowiki></code>.
  
==See also==
+
== See also ==
*{{tl|ket}}
+
 
*{{tl|bra}}
+
* {{tl|pars}}
*{{tl|rangle}}
+
 
*{{tl|langle}}
+
{{Math templates|notation}}
  
<includeonly>
+
<includeonly>{{sandbox other||
 
<!-- Categories and interwikis go here: -->
 
<!-- Categories and interwikis go here: -->
 
[[Category:Mathematical formatting templates]]
 
[[Category:Mathematical formatting templates]]
[[Category:Physics templates]]
+
[[Category:Physics formatting templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 17:10, 3 August 2020

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