Skip main navigation

Measurement

In this article, learn how qubits can be measured in several different ways.
© Keio University

We just described a single qubit and its important characteristics, its ability to support superposition and phase. But it’s important to note that we can’t directly see either of those characteristics. Instead, we must measure the qubit, which has some behaviors that are relatively intuitive and some that aren’t.

As we noted, the waves we have been describing are called probability amplitudes in quantum mechanics. These amplitudes determine the probability of finding a value when we measure the state.

Measuring a Qubit

When we measure a qubit, we always find one of two states (usually either zero or one, but we’ll relax that a bit later). For a 50/50 state like our “ket plus” state

(sqrt{1/2}|0rangle + sqrt{1/2}|1rangle), our "plus" state

there is a fifty percent probability of finding zero, and a fifty percent probability of finding one. We can calculate this by taking the absolute value of the square of the amplitude. For both (|0rangle) and (|1rangle), that is (|sqrt{1/2}|^2 = 1/2 = 50%).

For the state

(1/2|0rangle + sqrt{3/4}|1rangle) a non-50/50 state

there is a (|1/2|^2 = 1/4 = 25%) probability of finding zero and a 75% probability of finding one. We don’t get 0.75 when we measure it; instead, our quantum probability amplitudes determine what the probability is of finding one of the states.

Collapse of the Wave Function

Not only does measuring the qubit give us a value based on the probability amplitudes, we also say that it collapses the wave function. What does this mean?

It means that after we find, for example, a zero, any amplitude for one has disappeared. We are left with 100% zero. There is no way to work backwards from the measurement result to determine anything about the original probability amplitudes, other than obviously the amplitude for the value that we measured was non-zero.

If you want to know more, you’ll just have to rerun your experiment a bunch of times, starting from the preparation of your qubit, to collect some statistics. For example, if you run your experiment 100 times and you find zero 49 times and one 51 times, you can infer that your experiment is creating a state that is about 50% zero and 50% one.

Three Ways of Measuring One Qubit

the Bloch sphere

The Bloch sphere is useful for thinking about measurements. (It’s one of the main reasons we introduced the concept.) The qubit’s vector can point to an arbitrary position on the sphere. If the vector is in the “northern” hemisphere, we are more likely to find a (|0rangle) state when we measure (recalling that (|0rangle) is at the north pole), whereas if the vector is in the “southern” hemisphere, we are more likely to find a (|1rangle) (since the (|1rangle) state is at the south pole). The state is then projected onto the state we measured, so that we only have (|0rangle) or (|1rangle) left. (Projected means that we move from our arbitrary vector onto one of those states.)

The (|0rangle) / (|1rangle) axis of the Bloch sphere is known as the (Z) axis. In our discussion so far, we have assumed that measuring a qubit means looking at it in a way that projects it into one of those two states. Measuring a qubit is actually more general than that: we can pick any line through the center of Bloch sphere and measure the qubit, which will project the qubit onto one of the two places where the line meets the sphere.

To keep things relatively simple, we will assume that our measurements are along the (X), (Y), or (Z) axis of the Bloch sphere. When we measure on the (X) axis, we will project our qubit to one end of the (X) axis, which we called our (|+rangle) and (|-rangle) states.

Measuring along the (Y) axis is less common, so unlike the (Z) and (X) axes, the two ends don’t have such simple nicknames. The states at the two ends are
(sqrt{1/2}|0rangle + (pi/2)sqrt{1/2}|1rangle) or (sqrt{1/2}|0rangle + (3pi/2)sqrt{1/2}|1rangle.)

Relationship to Algorithms

Just a quick peek ahead: in fact, the wave function collapse can affect not just the particular qubit we are looking at, but the state of all of the qubits in our system, under some circumstances. We’ll see a little more of that when we talk about entanglement shortly, and a lot more when we talk about algorithms.

We will see that the entire goal of an algorithm is to use interference, which we have already talked about, to create states where measuring the outcome has a high probability of being the solution to our problem.

測定

これまでに、重ね合わせ状態や位相といった量子ビットの特性について学びました。 また、それらの量子ビットの情報はそのままダイレクトに見えるものではない、ということも重要な点の1つです。 量子ビットの状態を知るには、その量子ビットを「測定」する必要があります。

前述の通り、量子力学では波を確率振幅と呼びます。量子ビットを測定したときに、ある状態が出力として観測される確率は、この波の振幅によって決まります。

量子ビットの測定

量子ビットの測定では、2つの状態のうちいずれか1つの状態だけを観測します(今は0か1のどちらかを観測するという認識で構いませんが、実際は少し違うため、詳細は改めて説明します)。 「ケットプラス」のような50/50の状態は

[sqrt{1/2}|0rangle + sqrt{1/2}|1rangle]

our "plus" state

で、50%の確率で0を観測し、50%の確率で1を観測します。振幅の絶対値の自乗で確率を求めることができるため、この場合、(vert0rangle)や (vert1rangle)が観測される確率は両方 (vertsqrt{1/2}vert^2 = 1/2 =50%)で計算することができます。

また、

[1/2|0rangle + sqrt{3/4}|1rangle]

このような状態の場合、

a non-50/50 state

0を観測する確率は(vert1/2vert^2 = 1/4 = 25%)であり、同様の計算手法で1を観測する確率が75%であることが分かります。 あくまで、量子確率振幅は、それぞれの状態が観測される確率を決定するだけであり、測定を行うことで0.75という値が直接得られるわけではありません。

波動関数の収束

量子ビットを測定するということは、確率振幅に基づいたある値を得る行為であると同時に、その量子ビットの波動関数の収束も意味します。さて、どういうことなのでしょう?

波動関数の収束とは、仮にある量子ビットの測定結果が0だった場合、1の持っていた確率振幅は消失してしまい、0の確率振幅が100%に変化することを意味します。

測定によって得られる情報は、観測で得られた状態(0または1)の確率振幅が0%ではなかったことを除いて、基本的には何もありません。

ある量子ビットの状態を詳細に知りたい場合、その量子ビットを準備して、それを測定する実験を複数回行う必要があります。例えば、もし100回の実験を行い、49回0を観測し、51回1を観測した場合、その量子ビットは50%で1、50%で0の重ね合わせ状態にあったと推測できます。

1つの量子ビットを測定する3つの方法

the Bloch sphere

こういった単一量子ビットの測定について考える時、ブロッホ球は便利な表記法です。 量子ビットのベクトルは球面上の任意の点を指すことができます。 ベクトルが北半球にある場合、測定で(vert0rangle)を観測する確率が高くなります( (vert0rangle)が北極にあることを思い出してください)。 同様に、ベクトルが南半球にある場合は(vert1rangle)を観測する確率が高くなります。((vert1rangle)が南極にあることを思い出してください)。

量子ビットの状態は、測定結果の状態に射影されるので、測定後の量子ビットの状態は(vert0rangle)もしくは(vert1rangle)になります。 (この場合の射影とは任意のベクトルから(vert0rangle)もしくは(vert1rangle)の状態に移動することを意味します。)

ブロッホ球上での(vert0rangle)と(vert1rangle)を結ぶ軸は(Z)軸と呼ばれ、量子ビットを測定することは(Z)軸の両端の状態のうち、どちらか1つの状態へと射影することを仮定してきました。 実際は量子ビットの測定は常に(Z)軸を基底とする必要性はなく、ブロッホ球の原点を通る任意の軸にそって射影を行うことができます。

簡略化のため、測定基底はブロッホ球の(X),(Y), または(Z)軸に沿うものと仮定します。(X)軸で測定した場合、量子ビットは(X)軸の一方の端(vert+rangle)か(vert-rangle))に状態を投影します。

(Y)軸に沿って測定することはあまり一般的ではないため、 (Z)や(X) 軸のように両端に名前はありません。 両端の状態はそれぞれ(sqrt{1/2}vert0rangle + (pi/2)sqrt{1/2}vert1rangle)と (sqrt{1/2}vert0rangle + (3pi/2)sqrt{1/2}vert1rangle)です。

アルゴリズムとの関係

波動関数の崩壊は測定を施した特定の量子ビットだけではなく、状況によっては私達のシステム内にある全ての量子ビットの状態にも影響を与えることがあります。詳細については、今後、量子もつれについて学ぶ時に改めて説明を行います。また、アルゴリズムについて学ぶ時は、特定の量子ビットの波動関数の崩壊がどのようにして全体に影響してくるかを更に詳しくお話します。 また、干渉を用いることによって。量子ビットを測定した時に得られる結果が高い確率で解きたい問題の答えになるように振幅を操作していくことが、量子アルゴリズムの仕組みであることを見ていきます。

© Keio University
This article is from the free online

Understanding Quantum Computers

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now