第1章 量子计算发展简史与核心价值 / Chapter 1: History and Core Value of Quantum Computing
1981年,理查德·费曼在加州理工学院举办的“用计算机模拟物理”演讲中首次提出量子计算的核心构想:“自然不是经典的,该死的,如果你想模拟自然,你最好让它成为量子力学的(Nature isn't classical, dammit, and if you want to make a simulation of nature, you'd better make it quantum mechanical)”。这一论断直接点明了经典计算的根本局限:对于多体量子系统,经典计算机的模拟复杂度随系统规模指数增长——例如模拟n个自旋粒子的相互作用,需要存储$2^n$个复数概率幅,当n=50时,所需存储空间已经超过全球总内存容量。而量子计算机天然基于量子力学规律构建,其核心单元量子比特的状态本身就遵循量子叠加和纠缠规律,能够高效模拟量子系统的演化。这一观点标志着量子计算从理论猜想进入正式的研究视野,也成为此后40余年量子计算领域发展的核心逻辑起点。
In 1981, Richard Feynman first proposed the core concept of quantum computing in his lecture "Simulating Physics with Computers" at the California Institute of Technology: "Nature isn't classical, dammit, and if you want to make a simulation of nature, you'd better make it quantum mechanical." This assertion directly points out the fundamental limitation of classical computing: for multi-body quantum systems, the simulation complexity of classical computers grows exponentially with the scale of the system—for example, simulating the interaction of n spin particles requires storing $2^n$ complex probability amplitudes. When n=50, the required storage space already exceeds the total global memory capacity. Quantum computers are inherently built based on the laws of quantum mechanics, and their core unit, the qubit, itself follows the laws of quantum superposition and entanglement, enabling efficient simulation of quantum system evolution. This view marks the entry of quantum computing from theoretical conjecture into formal research horizons, and also becomes the core logical starting point for the development of the quantum computing field over the past 40 years.
1.1 理论起源:从费曼的构想到量子图灵机的建立 / 1.1 Theoretical Origin: From Feynman's Conception to the Establishment of Quantum Turing Machine
费曼的演讲虽然提出了量子计算的核心价值,但并未给出严格的数学模型。1985年,牛津大学的大卫·德伊奇(David Deutsch)首次提出了通用量子图灵机(Universal Quantum Turing Machine)模型,证明了量子计算在理论上可以模拟任何物理过程,并且对于某些特定问题,量子计算的效率可以远超经典计算。德伊奇的核心贡献是明确了量子计算的信息载体是量子比特,其状态存在于$2^n$维的复希尔伯特空间中,量子计算的操作是希尔伯特空间上的幺正变换,测量操作会导致量子态坍缩到对应的基态。这一模型为后续的量子算法研究和量子硬件开发奠定了严格的数学基础。
Feynman's lecture proposed the core value of quantum computing, but did not provide a strict mathematical model. In 1985, David Deutsch of the University of Oxford first proposed the Universal Quantum Turing Machine model, proving that quantum computing can theoretically simulate any physical process, and for some specific problems, the efficiency of quantum computing can far exceed that of classical computing. Deutsch's core contribution is clarifying that the information carrier of quantum computing is the qubit, whose state exists in a $2^n$-dimensional complex Hilbert space, the operation of quantum computing is a unitary transformation on the Hilbert space, and the measurement operation causes the quantum state to collapse to the corresponding basis state. This model laid a strict mathematical foundation for subsequent quantum algorithm research and quantum hardware development.
德伊奇同时提出了第一个量子算法——德伊奇算法(Deutsch-Jozsa Algorithm),该算法可以在一次查询中确定一个布尔函数是常函数还是平衡函数,而经典算法最少需要$2^{n-1}+1$次查询。虽然德伊奇算法没有实际应用价值,但它首次证明了量子计算在理论上具备超越经典计算的潜力,打破了“经典计算可以模拟所有物理过程”的传统认知。
Deutsch also proposed the first quantum algorithm—the Deutsch-Jozsa Algorithm, which can determine whether a Boolean function is a constant function or a balanced function in one query, while the classical algorithm requires at least $2^{n-1}+1$ queries. Although the Deutsch-Jozsa algorithm has no practical application value, it first proves that quantum computing has the potential to surpass classical computing theoretically, breaking the traditional cognition that "classical computing can simulate all physical processes".
1.1.1 量子比特与经典比特的本质差异 / 1.1.1 Essential Differences Between Qubits and Classical Bits
要理解量子计算的核心优势,首先需要明确量子比特与经典比特的本质区别。经典比特是经典计算的基本单元,每个时刻只能处于0或1的确定状态,信息承载能力为1比特。而量子比特是量子力学系统的二能级态,其通用状态可以表示为: $$|\psi\rangle = \alpha|0\rangle + \beta|1\rangle$$ 其中$|0\rangle$和$|1\rangle$是量子比特的计算基态,对应经典比特的0和1,$\alpha$和$\beta$是复数概率幅,满足归一化条件$|\alpha|^2 + |\beta|^2 = 1$。当对量子比特进行测量时,它会以$|\alpha|^2$的概率坍缩到$|0\rangle$态,以$|\beta|^2$的概率坍缩到$|1\rangle$态,测量结果是概率性的。
To understand the core advantages of quantum computing, we must first clarify the essential difference between qubits and classical bits. Classical bits are the basic unit of classical computing, which can only be in a definite state of 0 or 1 at each moment, with an information carrying capacity of 1 bit. The qubit is the two-level state of a quantum mechanical system, and its general state can be expressed as: $$|\psi\rangle = \alpha|0\rangle + \beta|1\rangle$$ Where $|0\rangle$ and $|1\rangle$ are the computational basis states of the qubit, corresponding to 0 and 1 of the classical bit, $\alpha$ and $\beta$ are complex probability amplitudes, satisfying the normalization condition $|\alpha|^2 + |\beta|^2 = 1$. When measuring a qubit, it collapses to the $|0\rangle$ state with a probability of $|\alpha|^2$, and collapses to the $|1\rangle$ state with a probability of $|\beta|^2$, and the measurement result is probabilistic.
对于n个量子比特组成的量子系统,其状态存在于$2^n$维的希尔伯特空间中,通用状态可以表示为: $$|\psi\rangle = \sum_{i=0}^{2^n-1} \alpha_i |i\rangle$$ 其中$|i\rangle$是n个量子比特的第i个计算基态(对应经典的n比特二进制数i),$\alpha_i$是复数概率幅,满足$\sum_{i=0}^{2^n-1} |\alpha_i|^2 = 1$。这意味着n个量子比特可以同时承载$2^n$个经典比特的信息,并且通过量子叠加和纠缠,可以对这些信息进行并行处理,这是量子计算并行能力的根源。
For a quantum system composed of n qubits, its state exists in a $2^n$-dimensional Hilbert space, and its general state can be expressed as: $$|\psi\rangle = \sum_{i=0}^{2^n-1} \alpha_i |i\rangle$$ Where $|i\rangle$ is the i-th computational basis state of n qubits (corresponding to the n-bit binary number i in classical), $\alpha_i$ is a complex probability amplitude, satisfying $\sum_{i=0}^{2^n-1} |\alpha_i|^2 = 1$. This means that n qubits can carry the information of $2^n$ classical bits at the same time, and through quantum superposition and entanglement, these information can be processed in parallel, which is the source of the parallel computing power of quantum computing.
```mermaid graph LR subgraph 经典比特状态空间 / Classical Bit State Space A[1个经典比特<br/>1 Classical Bit] --> B[2种确定状态<br/>2 Definite States: 0/1] B --> C[信息承载量:1比特<br/>Information Capacity: 1 bit] end
subgraph 量子比特状态空间 / Qubit State Space D[1个量子比特<br/>1 Qubit] --> E[连续无限种叠加态<br/>Continuously Infinite Superposition States] E --> F[信息承载量:无限(测量前)<br/>Information Capacity: Infinite (Before Measurement)] end ```
【💡 侧边栏(电子版):量子不可克隆定理】 量子力学的基本原理禁止对未知量子态进行完美克隆,这一特性既是量子密码学安全性的基础,也是量子纠错的核心挑战之一。与经典比特可以任意复制不同,量子信息的传输和存储必须通过量子隐形传态等特殊方式实现,这也是量子计算硬件设计必须考虑的核心约束。
【💡 Sidebar (Digital Edition): Quantum No-Cloning Theorem】 The basic principle of quantum mechanics prohibits perfect cloning of unknown quantum states. This feature is both the basis of the security of quantum cryptography and the core challenge of quantum error correction. Unlike classical bits, which can be copied arbitrarily, the transmission and storage of quantum information must be realized through special methods such as quantum teleportation, which is also the core constraint that must be considered in the design of quantum computing hardware.
1.1.2 量子门与量子计算的并行性 / 1.1.2 Quantum Gates and Parallelism of Quantum Computing
经典计算的操作通过布尔逻辑门实现,包括与门、或门、非门等,所有操作都是对确定状态的确定性变换。而量子计算的操作通过量子门实现,量子门是希尔伯特空间上的幺正变换,保持量子态的概率幅总和为1,是可逆操作。常见的单比特量子门包括:
- **Hadamard门(H门)**:将基态$|0\rangle$变换为叠加态$(|0\rangle + |1\rangle)/\sqrt{2}$,是制备量子叠加态最常用的门;
- **Pauli-X门**:对应经典的非门,将$|0\rangle$翻转为$|1\rangle