How to measure the first qubit in two qubit system? QC

Click For Summary

Discussion Overview

The discussion revolves around the measurement of qubits in a quantum computing system, particularly focusing on how to measure the first qubit after applying a Hadamard gate to a two-qubit state. Participants explore both mathematical and intuitive explanations related to quantum measurement, quantum formalism, and the implications of applying quantum gates.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant inquires about measuring the first or second qubit after a Hadamard gate is applied to a two-qubit state, seeking both mathematical and intuitive explanations.
  • Another participant emphasizes the importance of understanding quantum formalism, specifically the tensor product and the distinction between product and entangled states, suggesting that measurements typically start in the computational basis.
  • A participant explains that the Hadamard gate acts on one qubit and provides the probabilities of measuring outcomes for the first qubit based on the coefficients A, B, C, and D in the state representation.
  • Further elaboration is provided on defining linear operators for the system and how the Hadamard gate operates within the Hilbert space, including mathematical definitions of the operators involved.
  • One participant expresses confidence in deriving a formula for measurement based on their understanding of quantum formalism and references a textbook provided by their research professor.

Areas of Agreement / Disagreement

Participants appear to share a common interest in understanding the measurement process in quantum systems, but there is no explicit consensus on the best approach or method for measurement, as various perspectives and levels of understanding are presented.

Contextual Notes

Some participants reference specific mathematical formulations and textbooks, indicating a reliance on formal definitions and concepts that may not be universally understood by all contributors. The discussion includes assumptions about prior knowledge of quantum mechanics and measurement theory.

Frank Schroer
Messages
7
Reaction score
0
I was wondering how to measure the first or even the second qubit in a quantum computing system after for example a Hadamard Gate is applied to the system of these qubits: A|00>+B|01>+C|10>+D|11>?
A mathematical and intuitive explanation would be nice, I am a undergraduate sophomore student doing research with a professor and my task over winter break is to write a Mathematica code that can simulate measurement for a quantum computing operation. I understand that this system has to be normalized throughout and it's probabilities in check.
 
Physics news on Phys.org
How much do you already know about the quantum formalism, for example, the tensor product and the difference between a product state and an entangled state?

I'm asking this because typically in quantum computing one starts in the computational basis (##\{ |00\rangle, |01\rangle ,|10\rangle, |11\rangle \}## in the two-qubit case) and measure in the same basis. A Hadamard gate is a single-qubit gate so you might not even need to consider the second qubit. For an arbitrary state that you have written, the probability of getting the outcome 0 for the first qubit is ##|A|^2 + |B|^2## and the probability of getting the outcome 1 is ##|C|^2+|D|^2##. Can you derive this using what you know? A good reference is the second chapter of http://csis.pace.edu/ctappert/cs837-18spring/QC-textbook.pdf.
 
  • Like
Likes   Reactions: Frank Schroer
Well, of course you must define the linear operators describing the system (e.g., the self-adjoint operators representing observables or the unitary operators describing interactions of the qbits with some device like a quarter-wave plate in quantum optics or the q-gates in quantum-information theory) on the Hilbert space (or, sufficiently, on any basis spanning this Hilbert space) in the Hilbert space at hand.

If you have a two-spin system, you thus must define how the operator in question acts on the four product states. The Hadamard gate acts on one of the qbits only, i.e., it's given by
$$\hat{H}=\hat{h} \otimes \hat{1}.$$
The definition for the single-spin Hadamard gate is
$$\hat{h}=|1 \rangle \langle+ | + |0\rangle \langle -|$$
with
$$|\pm \rangle=\frac{1}{\sqrt{2}} (|1 \rangle \pm |0 \rangle).$$
This means
$$\hat{H} |a \rangle \otimes |b \rangle=(\hat{h} |a \rangle) \otimes |b \rangle$$
for any product state. The rest follows from the fact that by definition ##\hat{H}## acts linearly on the two-q-bit state as well as this holds for ##\hat{h}## acting on a single-q-bit state.
 
  • Like
Likes   Reactions: Frank Schroer
Truecrimson said:
How much do you already know about the quantum formalism, for example, the tensor product and the difference between a product state and an entangled state?

I'm asking this because typically in quantum computing one starts in the computational basis (##\{ |00\rangle, |01\rangle ,|10\rangle, |11\rangle \}## in the two-qubit case) and measure in the same basis. A Hadamard gate is a single-qubit gate so you might not even need to consider the second qubit. For an arbitrary state that you have written, the probability of getting the outcome 0 for the first qubit is ##|A|^2 + |B|^2## and the probability of getting the outcome 1 is ##|C|^2+|D|^2##. Can you derive this using what you know? A good reference is the second chapter of http://csis.pace.edu/ctappert/cs837-18spring/QC-textbook.pdf.
Thank you for the response, my research professor gave me a physical copy of the textbook that you referenced. I have a pretty good understanding of quantum formalism. I believe I can derive a proper formula in order to write a code for a numerical method for measurement procedure given an input state.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
8
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
2
Views
2K