NiklasH

NiklasH

Quantum Computing: Bra and ket (p. 187)

On page 187 in section “Can the Quantum Gate Matrix Be Anything?”, psi-dagger is defined as <psi^dagger| = (w0* w1*).

As per my understanding, the conjugate transpose of a bra is actually the ket, meaning <psi^dagger| = |psi> with |psi> being a column vector with entries w0 and w1 (not w0* and w1*). Am I missing something here?

(Also quoting Wikipedia here, section “Bras and kets as row and column vectors” in https://en.wikipedia.org/wiki/Bra–ket_notation: “The conjugate transpose (also called Hermitian conjugate) of a bra is the corresponding ket and vice versa”)

Thank you very much for any clarification on this topic!

First Post!

nihal.mehta

nihal.mehta

Author of Quantum Computing

You are right that the bra and kets are conjugate transpose (or Hermitian conjugates) of each other. So, if |psi> is a column vector whose elements are w0 and w1, then <psi^dagger| is the row vector whose elements are w0* and w1* as shown on the bottom of page 187. That is, |psi>^dagger = <psi^dagger|.
The math notation can sometimes seem confusing. So, it’s best to understand the intent of what’s going on and then the notation will follow. Also, using actual numbers instead
of letters may help to clarify.

Where Next?

Popular Pragmatic Bookshelf topics Top

johnp
Running the examples in chapter 5 c under pytest 5.4.1 causes an AttributeError: ‘module’ object has no attribute ‘config’. In particula...
New
jesse050717
Title: Web Development with Clojure, Third Edition, pg 116 Hi - I just started chapter 5 and I am stuck on page 116 while trying to star...
New
jdufour
Hello! On page xix of the preface, it says there is a community forum "… for help if your’re stuck on one of the exercises in this book… ...
New
gilesdotcodes
In case this helps anyone, I’ve had issues setting up the rails source code. Here were the solutions: In Gemfile, change gem 'rails' t...
New
fynn
This is as much a suggestion as a question, as a note for others. Locally the SGP30 wasn’t available, so I ordered a SGP40. On page 53, ...
New
oaklandgit
Hi, I completed chapter 6 but am getting the following error when running: thread 'main' panicked at 'Failed to load texture: IoError(O...
New
taguniversalmachine
It seems the second code snippet is missing the code to set the current_user: current_user: Accounts.get_user_by_session_token(session["...
New
Keton
When running the program in chapter 8, “Implementing Combat”, the printout Health before attack was never printed so I assumed something ...
New
dtonhofer
@parrt In the context of Chapter 4.3, the grammar Java.g4, meant to parse Java 6 compilation units, no longer passes ANTLR (currently 4....
New
New

Other popular topics Top

New
PragmaticBookshelf
Brace yourself for a fun challenge: build a photorealistic 3D renderer from scratch! In just a couple of weeks, build a ray tracer that r...
New
PragmaticBookshelf
Design and develop sophisticated 2D games that are as much fun to make as they are to play. From particle effects and pathfinding to soci...
New
PragmaticBookshelf
Create efficient, elegant software tests in pytest, Python's most powerful testing framework. Brian Okken @brianokken Edited by Kat...
New
AstonJ
If you get Can't find emacs in your PATH when trying to install Doom Emacs on your Mac you… just… need to install Emacs first! :lol: bre...
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
Help
I am trying to crate a game for the Nintendo switch, I wanted to use Java as I am comfortable with that programming language. Can you use...
New
PragmaticBookshelf
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New
PragmaticBookshelf
Use advanced functional programming principles, practical Domain-Driven Design techniques, and production-ready Elixir code to build scal...
New
xiji2646-netizen
There’s a GitHub repo at forrestchang/andrej-karpathy-skills that’s sitting at 97.8k stars. It’s a single CLAUDE.md file with four behavi...
New

Sub Categories: