Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Examples  





2 See also  














Template:Langle






Dansk
Føroyskt


Slovenščina
 


 

Edit links
 









Template
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


This is used in the {{braket}} template. When creating bra or ket vectors, or inner products, use {{Braket}} to save the trouble of typing | (for the pipe symbol), {{langle}}, or {{rangle}} every time.

Examples[edit]

Bras

The superposition of states can be written ⟨p| + ⟨q| + ⟨χ| + ⟨ψ|, which is inline with the text.

Another superposition of states: ⟨P| + ⟨Q| + ⟨Φ| + ⟨Ψ|, again inline.

The superposition of states can be written {{langle}}p| + {{langle}}q| + {{langle}}χ| + {{langle}}ψ|, which is inline with the text.

Another superposition of states: {{langle}}P| + {{langle}}Q| + {{langle}}Φ| + {{langle}}Ψ|, again inline.
Tables (also hidden boxes)

Due to the vertical bar | used in template coding, the html code | must be used when bra–ket notation is used in tables, else some parts will not show up because of code interference.

The correct way:

Left bracket alone Bra
⟨Φ + ⟨Ψ ⟨Φ| + ⟨Ψ|

and the wrong way:

Left bracket alone Bra
⟨Φ + ⟨Ψ + ⟨Ψ|
The correct way: 

{| class="wikitable"
! Left bracket alone 
! Bra 
|-
| {{langle}}Φ + {{langle}}Ψ
| {{langle}}Φ| + {{langle}}Ψ|
|}

and the wrong way:

{| class="wikitable"
! Left bracket alone 
! Bra 
|-
| {{langle}}Φ + {{langle}}Ψ
| {{langle}}Φ| + {{langle}}Ψ|
|}
In conjunction with {{rangle}}

One sum of inner products is ⟨p|q⟩ + ⟨χ|ψ⟩, a real number.

A sum of average values could be ⟨P|E|Q⟩ + ⟨Φ|p|Ψ⟩, another real number.

One sum of inner products is {{langle}}p|q{{rangle}} + {{langle}}χ|ψ{{rangle}}, a real number.

A sum of average values could be {{langle}}P|''E''|Q{{rangle}} + {{langle}}Φ|''p''{{rangle}}, another real number.

The average of a quantity q may be written ⟨q⟩. The root mean square is then √⟨q2⟩, i.e. square every value, then average, then take the root.

The average of a quantity ''q'' may be written {{langle}}''q''{{rangle}}. The root mean square is 
then √{{langle}}''q''<sup>2</sup>{{rangle}}, i.e. square every value, then average, then take the root.

See also[edit]


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Langle&oldid=716176747"

Category: 
Mathematical formatting templates
 



This page was last edited on 20 April 2016, at 10:59 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki