模板:Bra-ket/sandbox
⟨{{{1}}}|{{{2}}}⟩
这是Template:Bra-ket(差异)的沙盒。 |
此模板的文档不存在、不全面或不能详细描述其功能及/或其代码中的参数。请帮助扩充并改进其文档。 |
This is for a producing inner products of quantum states in bra–ket notation, using wikicode, ideally with {{math}}, as an alternative to LaTeX in <math> mode.
This template uses {{braket}}.
Application
编辑There are two parameters, which is the text to be displayed as the bra and ket labels.
Examples
编辑The inner product of the kets |ξ⟩ and |ψ⟩ can be written: ⟨ψ|ξ⟩ = ⟨ξ|ψ⟩†, that is {{bra-ket|ψ|ξ}} = {{bra-ket|ξ|ψ}}<sup>†</sup>
.
Using {{math}}, the inner product can be written: ⟨ψ|ξ⟩, that is {{math|{{bra-ket|ψ|ξ}}}}
.