Quantum computing for the very curious——Part I: The state of a qubit
NOTE
Quantum computing for the very curious
Preface
qubit is short of the quantum bit, whereas the state of a bit is a number (0 or 1),the state of a qubit is a vector in a two-dimensional vector space
Maybe the state of the qubit is being stored somehow on an electron, or a photon, or an atom
Property
There are four properties we should take away:
- qubits have a state;
- much like a bit, that state is an abstract mathematical object;
- whereas a bit's abstract state is a number, 0 or 1, the state of a qubit is a 2-dimensional vector
- we call the 2-dimensional vector space where states live state space.
Connecting qubits to bits: the computational basis states
there are two special quantum states which correspond to the 0 and 1 states of a classical bit.
The quantum state corresponding to 0 is usually denoted and corresponding to 1 is denoted
the fancy notations are the following vector respectively
(this notation with and is called the ket notation——a ket is just a vector)
the special state and ,called the computational basis state,have all the properties we expect of the state of a classical bit
General states of a qubit
with the computational basis states and ,many more states are possible.
In general,a quantum state is a two-dimensional vector.
-
an example:
then we can calculate:
furthermore quantum states are also the complex vectors.
they can have complex numbers as entries.
- an instance:
a quantum state is a two-dimensional vector in a complex vector space.
To understand it,we need to get familiar with some more nomenclature commonly used for quantum states
-
superposition
people often say a state like is a superposition of and (All they mean is that the state is a linear combination of and ) -
amplitude
An amplitude is the coefficient for a particular state in superposition.
for instance,in the state the amplitude for is 0.6 and the amplitude for is 0.8 -
normalization
a quantum state is a two-dimensional complex vector but there is a constraint :
the sums of the squares of the amplitudes must be equal to 1.
for a more general quantum state,the amplitudes can be complex numbers,we denote them by and .
the state is .Obviously,
this is called the normalization constraint
for example:
for the state 0.6 the sum of the squares of the amplitudes is ,which is equal to 1we consider and as orthonormal vectors.
SUMMARY:
the quantum state of a qubit is a vector of unit length in a two-dimensional complex vector space known as state space.
we’re taking is to start with the mathematics of quantum computing --we’ll keep getting familiar with qubits and the quantum state, and developing the consequences. Doing that is how we’ll build up intuition, and will give us the chops needed to come back and think harder about the meaning of the quantum state.
本文作者:归游
本文链接:https://www.cnblogs.com/guiyou/p/18671348
版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!