Difference between revisions of "Template:Ket/doc"

From blackwiki
Jump to navigation Jump to search
imported>Maschen
(now absorbed into Template:Braket/doc)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
#REDIRECT [[Template:Braket/doc]]
+
{{Documentation subpage}}
 +
<!-- Categories and interwikis go at the bottom of this page. -->
 +
 
 +
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==
 +
 
 +
There is one parameter, which is the text to be displayed as the ket label.
 +
 
 +
==Examples==
 +
 
 +
A ket can be written: {{ket|Ψ}}, that is <code><nowiki>{{ket|Ψ}}</nowiki></code>.
 +
 
 +
Using {{tl|math}}, a ket can be written: {{math|{{ket|Ψ}}}}, that is <code><nowiki>{{math|{{ket|Ψ}}}}</nowiki></code>.
 +
 
 +
;[[Schrödinger equation]]:
 +
In wiki-markup rather than LaTeX:
 +
:{{math|1=''iħ''{{sfrac|''d''|''dt''}}{{ket|''ψ''(''t'')}} = ''Ĥ''{{ket|''ψ''(''t'')}}}}
 +
that is,
 +
:<code><nowiki>{{math|1=''iħ''{{sfrac|''d''|''dt''}}{{ket|''ψ''(''t'')}} = ''Ĥ''{{ket|''ψ''(''t'')}}}}</nowiki></code>
 +
 
 +
==See also==
 +
{{Math templates|notation}}
 +
 
 +
<includeonly>{{Sandbox other||
 +
<!-- Categories and interwikis go here: -->
 +
[[Category:Mathematical formatting templates]]
 +
[[Category:Physics formatting templates]]
 +
}}</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