Template:Ket/doc
外观
此模板的文档不存在、不全面或不能详细描述其功能及/或其代码中的参数。请帮助扩充并改进其文档。 |
此頁面是Template:Ket的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
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: |Ψ⟩, that is {{ket|Ψ}}
.
Using {{math}}, a ket can be written: |Ψ⟩, that is {{math|{{ket|Ψ}}}}
.
In wiki-markup rather than LaTeX:
- iħd/dt|ψ(t)⟩ = Ĥ|ψ(t)⟩
that is,
{{math|1=''iħ''{{sfrac|''d''|''dt''}}{{ket|''ψ''(''t'')}} = ''Ĥ''{{ket|''ψ''(''t'')}}}}