• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.49
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Rangle

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here

⟩

Template documentation[view] [edit] [history] [purge]

This is the right-handed angular bracket used for writing averages or bra–ket notation, with other applications primarily in mathematics and physics, for use when inline html rendering is desired rather than TeX rendering.

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

Kets

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 |p{{rangle}} + |q{{rangle}} + |χ{{rangle}} + |ψ{{rangle}}, which is inline with the text.

Another superposition of states: |P{{rangle}} + |Q{{rangle}} + |Φ{{rangle}} + |Ψ{{rangle}}, 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:

Right bracket alone Ket
Φ⟩ + Ψ⟩ |Φ⟩ + |Ψ⟩

and the wrong way:

Right bracket alone Ket
Φ⟩ + Ψ⟩ Φ⟩ + |Ψ⟩
The correct way: 

{| class="wikitable"
|-
! Right bracket alone 
! Ket
|-
| Φ{{rangle}} + Ψ{{rangle}}
| |Φ{{rangle}} + |Ψ{{rangle}}
|}

and the wrong way:

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

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

  • v
  • t
  • e
Math templates
  • Functions
  • Numeral systems
Functions
  • elementary arithmetic
  • precision
  • val (value)
Numeral systems
  • {{#invoke:BaseConvert|XtoY}}
  • binary
  • decimal2Base
  • hex2dec
  • hexadecimal
  • octal
  • quaternary
  • quinary
  • rn
  • roman
  • senary
  • ternary
  • vigesimal
Conversions
convert many units (see: list)
cvt abbreviated {{convert}}
convinfobox {{convert}} for infoboxes
bbl to t barrels of oil to tonnes
long ton long hundredweights, quarters and pounds to kilograms;
long tons and hundredweights to pounds and metric tons
miles-chains miles and chains to kilometres linking "chains"
decdeg degrees, minutes, and seconds to decimal degrees
deg2dms decimal degrees to degrees, minutes, and seconds
deg2hms decimal degrees to hour angle (in hours, minutes, and seconds)
hms2deg hour angle (in hours, minutes, and seconds) to decimal degrees
inflation calculate inflation of Consumer Price Index-related prices
pop density population density in an area
track gauge railway track gauges
Notation and formatting
bigmath bigger font to match TeX \displaystyle (standalone formulas only)
  • bra-ket
  • braket
  • bra
  • ket
bra–ket notation
ceil, floor calculations :mw:Help:#expr; formatting indicators ⌈3.14⌉, ⌊3.14⌋ (no calculation performed)
frac slant fractions 3⁄5 (not for maths/science articles; use standing or upright fractions {{sfrac}} instead)
intmath integral symbols
  • langle
  • rangle
  • angbr
angular brackets
  • ldelim
  • rdelim
multiline delimiters (2–5 lines inclusive)
abs absolute values (paired vertical lines)
math short text-based formulas
mathcal [mathematical] calligraphic font; alternative to LaTeX \mathcal{...}
mvar individual italicized maths variables in normal text
  • overline
  • underline
a line set above/below a sequence of characters
overarc an arc set above a sequence of characters
  • overset
  • underset
arbitrary characters/diacritics set above/below one another
pars parentheses that can be resized (∑)
sfrac “standing” or upright fractions 3/5 (use in maths/science articles instead of{{frac}})
  • sub
  • sup
  • su
subscripts and superscripts
tmath Wrap TeX in <math> tags
tombstone symbol indicating the end of a proof
val measurement values, uncertainties and units
vec various overarrows, underarrows, etc.
  • Boxes
  • Tags
  • Notices
BoxesTags
  • calculation results
  • calculus
  • Infobox mathematics function
  • functions
  • metricate
  • undue precision
  • units attention
Category · Module:Math
The above documentation is transcluded from Template:Rangle/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Rangle&oldid=28294"
Category:
  • Mathematical formatting templates
Last edited on 20 April 2016, at 06:00

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 20 April 2016, at 06:00.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop