Difference between revisions of "Template:Ket/doc"

From blackwiki
Jump to navigation Jump to search
imported>Maschen
(start, will extend later, give me a chance!....)
 
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This is for producing kets in wikicode.
+
{{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==
 
==Application==
  
It's very easy to use: just fill the template with the symbol for the [[quantum state]], which can also be bold, italic, any unicode symbol, etc.
+
There is one parameter, which is the text to be displayed as the ket label.
  
 
==Examples==
 
==Examples==
  
A ket can be written: {{ket|ψ}}, that is <code><nowiki>{{ket|ψ}}</nowiki></code>.
+
A ket can be written: {{ket|Ψ}}, that is <code><nowiki>{{ket|Ψ}}</nowiki></code>.
  
In <nowiki><math></nowiki> mode:
+
Using {{tl|math}}, a ket can be written: {{math|{{ket|Ψ}}}}, that is <code><nowiki>{{math|{{ket|Ψ}}}}</nowiki></code>.
  
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==
 
==See also==
 +
{{Math templates|notation}}
  
*{{tl|rangle}}
+
<includeonly>{{Sandbox other||
*{{tl|langle}}
+
<!-- Categories and interwikis go here: -->
*{{tl|braket}}
+
[[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