Difference between revisions of "Template:Ket/doc"

From blackwiki
Jump to navigation Jump to search
imported>Quondum
(→‎See also: Adding {{bra}})
imported>Maschen
Line 3: Line 3:
  
 
This is for producing [[quantum state]] vectors in [[bra–ket notation]], using wikicode, ideally with {{tl|math}}, as an alternative to [[LaTeX]] in <nowiki><math></nowiki> mode.
 
This is for producing [[quantum state]] vectors 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}}.
  
 
==Application==
 
==Application==
  
 
There is one parameter, which is the text to be displayed as the ket vector label.
 
There is one parameter, which is the text to be displayed as the ket vector label.
 +
 +
This template uses {{tl|braket}}.
  
 
==Examples==
 
==Examples==
Line 23: Line 27:
  
 
*[[Template:ket/sandbox]]
 
*[[Template:ket/sandbox]]
*{{tl|braket}}
 
 
*{{tl|bra}}
 
*{{tl|bra}}
 +
*{{tl|bra-ket}}
 
*{{tl|rangle}}
 
*{{tl|rangle}}
 
*{{tl|langle}}
 
*{{tl|langle}}

Revision as of 05:54, 15 April 2013

This is for producing quantum state vectors in bra–ket notation, using wikicode, ideally with {{math}}, as an alternative to LaTeX in <math> mode.

This template uses {{braket}}.

Application

There is one parameter, which is the text to be displayed as the ket vector label.

This template uses {{braket}}.

Examples

A ket can be written: Template:Rangle, that is {{ket|Ψ}}.

Using {{math}}, a ket can be written: Template:Rangle, that is {{math|{{ket|Ψ}}}}.

Schrödinger equation

In wiki-markup rather than LaTeX:

Template:Sfrac|ψ(t)Template:Rangle = Ĥ|ψ(t)Template:Rangle

that is,

{{math|1=''iħ''{{sfrac|''d''|''dt''}}{{ket|''ψ''(''t'')}} = ''Ĥ''{{ket|''ψ''(''t'')}}}}

See also