Difference between revisions of "Template:Ket/doc"

From blackwiki
Jump to navigation Jump to search
imported>AquaDTRS
(moved to subcat)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 25: Line 25:
 
{{Math templates|notation}}
 
{{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 formatting templates]]
 
[[Category:Physics formatting templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 23:16, 25 April 2020

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 label.

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