Jump to content

Dirac notation

Featured Replies

How does one enter dirac bra kets in Latex? From the net it seemed I should use \ket{00} but this got me a syntax error.

 

BTW - protip: unless you are alone and have some time to kill do not search on latex bra ket

 

 

I usually use | \psi \rangle to get [math] | \psi \rangle [/math].

 

Along similar lines you can use \langle \phi | \psi \rangle giving [math] \langle \phi | \psi \rangle [/math] when you need an inner product.

 

It's cumbersome, but the words "rangle" and "langle" make me smile.

Edited by mississippichem

I usually use | \psi \rangle to get [math] | \psi \rangle [/math].

 

Along similar lines you can use \langle \phi | \psi \rangle giving [math] \langle \phi | \psi \rangle [/math] when you need an inner product.

 

It's cumbersome, but the words "rangle" and "langle" make me smile.

That's how I usually do it too. Although , one could always skip the LaTeX and use Unicode for the greek and just |> for the rest.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.