Measuring Qubits: Basics for Quantum Computing Beginners

Click For Summary
Measuring qubits involves understanding their states, such as α|0> + β|1> for a hydrogen atom's electron, where measuring in the |0>, |1> basis yields probabilities |α|² and |β|². To measure in a different basis, like |+>, |->, one must apply a basis transformation, typically using quantum gates like the Hadamard gate, which converts between bases. This transformation allows the measurement to be conducted in the desired basis while mapping outcomes back to the computational basis. The process involves applying the gate, measuring the state, and then potentially reversing the transformation to interpret the results. Understanding these operations clarifies how quantum measurements can be manipulated across different bases.
Ananthan9470
Messages
31
Reaction score
0
I am newly learning quantum computing and am confused about some concepts. Suppose your qbit is the electron of a hydrogen atom and its in the state α|0> + β|1> . As far as I can understand, this means that if you measure the qbit in |0>, |1> basis, you will get a ground state electron with the probability |α|2 and an exited one with the probability |β|2. So what does it mean when you say you are measuring the state in some other basis? say |+>, |-> basis. How do you physically do this? Thanks.
 
Physics news on Phys.org
It is easier to see that things when you measure a spin along a direction with a Stern and Gerlach. You get 0> or 1> You will get another orthogonal basis by rotating the SG apparatus.
 
  • Like
Likes Ananthan9470
naima said:
It is easier to see that things when you measure a spin along a direction with a Stern and Gerlach. You get 0> or 1> You will get another orthogonal basis by rotating the SG apparatus.

I kind of understood the thing about spin and how it is measured but I am trying to do understand the same thing for the H atom system. There has to be some similar measuring in a different basis thing for this as well right?
 
Ananthan9470 said:
I am newly learning quantum computing and am confused about some concepts. Suppose your qbit is the electron of a hydrogen atom and its in the state α|0> + β|1> . As far as I can understand, this means that if you measure the qbit in |0>, |1> basis, you will get a ground state electron with the probability |α|2 and an exited one with the probability |β|2. So what does it mean when you say you are measuring the state in some other basis? say |+>, |-> basis. How do you physically do this? Thanks.

Generally what you do is apply some operations that do a basis transform so the basis you want gets mapped to the computational basis, then measure, then undo the basis transform.

For example, suppose you want to measure the X observable (instead of the Z observable that the computational basis corresponds to). The Hadamard operation happens to switch between those two basises, so you can use this circuit:

Code:
    |ψ> ──[H]──[Measure]──[H]──

or this:

Code:
    ψ ──H──•──H── ψ [collapsed]
           │
    0 ─────X───── result

If you don't want to figure out the basis transform, but have a gate whose operation is the observable's matrix U, and are able to do a controlled-U, then you can always use this circuit:

Code:
    ψ ─────U───── ψ [collapsed]
           │
    0 ──H──•──H── result

(The X observable is unique in that *both* solutions use the Hadamard gate so you can reverse which gates go on which wire and it would still work.)

Try measuring in the Y basis with this simulator.
 
Last edited:
  • Like
Likes Ananthan9470
Strilanc said:
Generally what you do is apply some operations that do a basis transform so the basis you want gets mapped to the computational basis, then measure, then undo the basis transform.

For example, suppose you want to measure the X observable (instead of the Z observable that the computational basis corresponds to). The Hadamard operation happens to switch between those two basises, so you can use this circuit:

Code:
    |ψ> ──[H]──[Measure]──[H]──

or this:

Code:
    ψ ──H──•──H── ψ [collapsed]
           │
    0 ─────X───── result

If you don't want to figure out the basis transform, but have a gate whose operation is the observable's matrix U, and are able to do a controlled-U, then you can always use this circuit:

Code:
    ψ ─────U───── ψ [collapsed]
           │
    0 ──H──•──H── result

(The X observable is unique in that *both* solutions use the Hadamard gate so you can reverse which gates go on which wire and it would still work.)

Try measuring in the Y basis with this simulator.

Thank you so much. It makes much more sense now. So basically, you apply a gate to the hydrogen atom and then you measure it in the standard basis. After the gate, the electron will be in a corresponding superposition and then when you measure, you will get outcomes depending on the new state and the new probability amplitudes(which depends on the gate you used). Did I get everything right? Thanks again.
 
here u> and d> are spin of a particle along z.
If you couple your atom with this particle, the state is g> d> + e> u>
= g> (|+> + |->) + e> (|+> - |->) = (|g> + |e>)|+> + (|g> - |e>) |->
So if you rotate your SG along x and measure its spin, your atom is projected on one of your Schrodinger cat's state.
 
  • Like
Likes Ananthan9470
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. Towards the end of the first lecture for the Qiskit Global Summer School 2025, Foundations of Quantum Mechanics, Olivia Lanes (Global Lead, Content and Education IBM) stated... Source: https://www.physicsforums.com/insights/quantum-entanglement-is-a-kinematic-fact-not-a-dynamical-effect/ by @RUTA

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 29 ·
Replies
29
Views
3K
Replies
8
Views
5K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K