量子计算前世今生:从拨算盘到量子霸权 / The Origin and Evolution of Quantum Computing: From Abacus to Quantum Supremacy
你有没有想过,当一个古人站在集市上,手指在算盘上飞速拨动时,他正在做的工作和今天我们手中的智能手机其实有着某种神秘的联系?从算盘上的木珠子,到真空管中跳跃的电子,再到量子世界中那个既在这儿又在那儿的奇妙粒子,人类追求计算能力的旅程,就像一部跨越五千年的史诗大片。
Have you ever wondered whether there's some mysterious connection between an ancient merchant frantically sliding beads on an abacus and you scrolling through your smartphone? From wooden beads on an abacus to electrons jumping through vacuum tubes, to those curious particles that exist here and there simultaneously in the quantum realm—humanity's pursuit of computing power reads like an epic spanning five thousand years.
算盘上的智慧:经典计算的远古起源
The Wisdom on the Abacus: Ancient Origins of Classical Computing
让我们把时间拨回到公元前2500年左右的美索不达米亚平原。想象一下,一个巴比伦商人正面临一个让他头疼的问题:他需要记录部落里羊群的数量,计算收获的大麦重量,还要弄清楚欠隔壁村的陶器值多少粮食。在没有“计算器”这个神奇玩意儿的日子里,他能依靠的只有自己的十个手指,以及后来发明的——算盘。
Let's rewind to around 2500 BCE on the Mesopotamian plains. Imagine a Babylonian merchant facing a headache: he needs to track his sheep, calculate barley harvests, and figure out how much grain he owes for pottery from the neighboring village. Without the magical invention of "calculators," he could only rely on his ten fingers and—later—something far more sophisticated: the abacus.
算盘可能是人类最早的“计算机”。这个词可能会让你感到惊讶,毕竟我们脑海中“计算机”的形象往往是发光屏幕和嗡嗡作响的机器。但如果我们仔细思考一下计算的含义,就会发现算盘完美地诠释了计算的精髓:用物理状态来表示和处理信息。
The abacus might be humanity's first "computer." This word might surprise you—after all, the "computer" in our minds usually conjures images of glowing screens and humming machines. But if we think carefully about what "computing" really means, we realize the abacus perfectly embodies the essence of computation: using physical states to represent and process information.
在算盘上,每一颗木珠都代表着特定的数量。当商人把“上珠”推下来,把几颗“下珠”推上去时,他实际上是在用珠子的位置编码数字。当他把这些珠子上下滑动时,他正在进行加减运算。每一颗珠子的位置都是有意义的——这就是信息编码的基本思想,而这个思想一直延续到今天我们使用的每一台电脑中。
On an abacus, each wooden bead represents a specific quantity. When the merchant slides the "heavenly bead" down and pushes several "earthly beads" up, he's actually encoding numbers through bead positions. When he slides these beads up and down, he's performing addition and subtraction. Every bead position carries meaning—this is the fundamental concept of information encoding, and this idea persists in every computer we use today.
从算盘到齿轮:机械计算时代的辉煌
From Abacus to Gears: The Glorious Era of Mechanical Computing
时间快进到17世纪。1642年,在法国的一个小镇上,一位名叫布莱兹·帕斯卡(Blaise Pascal)的年轻人正在帮父亲处理税务计算工作。繁琐的数字加减让他苦不堪言,于是他做出了一个改变历史的决定:为什么不造一台机器来替我做这些计算呢?
Time jumps to the 17th century. In 1642, in a small French town, a young man named Blaise Pascal was helping his father with tedious tax calculations. The endless adding and subtracting was unbearable, so he made a history-changing decision: why not build a machine to do these calculations for me?
帕斯卡发明的帕斯卡计算器(Pascaline)可能是第一台真正能够实用的机械计算器。它的原理其实和算盘有着异曲同工之妙:同样是用物理状态来表示数字,同样是通过物理运动来完成计算。只不过代替木珠的,是精密的齿轮;而推动齿轮转动的,是人的手摇柄。
Pascal's Pascaline might be the first truly practical mechanical calculator. Its principle mirrors the abacus in a remarkable way: both use physical states to represent numbers and physical movement to perform calculations. The difference? Instead of wooden beads, there were precisely engineered gears; instead of fingers, there was a hand-crank.
想象一下当你转动帕斯卡计算器的曲柄时发生了什么。曲柄带动齿轮转动,齿轮带动数字轮滚动。当数字轮从9转到0时,旁边的一个小齿轮会同步转动,使相邻的十位数字加1。这就是进位机制——同样是算盘上“上珠当五”的智慧在机械时代的体现。
Imagine what happens when you turn the Pascaline's crank. The crank drives gears, which drive number wheels. When a wheel turns from 9 to 0, a small gear beside it also turns, adding 1 to the neighboring tens digit. This is the carrying mechanism—the same wisdom behind the "heavenly bead equals five" concept, reborn in the mechanical age.
> 知识链接 / Knowledge Link > > 帕斯卡有一句名言:"Le cœur a ses raisons que la raison ne connaît point."(心有其理,理性不得而知。)这位在哲学和数学上都有杰出贡献的天才,或许正是因为他理解人类思维与机器思维的异同,才能设计出如此巧妙的计算装置。 > > Pascal once said: "The heart has its reasons which reason knows nothing of." This genius, who made outstanding contributions to both philosophy and mathematics, perhaps precisely because he understood the similarities and differences between human and machine thinking, was able to design such an ingenious calculating device.
帕斯卡的计算器虽然精巧,但功能有限——它只能做加减法。真正把机械计算推向巅峰的,是另一位德国数学家戈特弗里德·莱布尼茨(Gottfried Leibniz)。1672年,莱布尼茨设计了一台能够进行乘除运算的机器。更重要的是,他提出了一个革命性的概念:二进制。
While Pascal's calculator was ingenious, it could only perform addition and subtraction. The one who truly pushed mechanical computing to its peak was another German mathematician, Gottfried Leibniz. In 1672, Leibniz designed a machine capable of multiplication and division. More importantly, he proposed a revolutionary concept: binary numbers.
莱布尼茨发现,所有的数字都可以用0和1两个符号来表示。比如,我们熟悉的数字5,在二进制中写作101;数字13写作1101。这个看似简单的发现,实际上为未来所有数字计算机奠定了基础。因为用0和1表示信息,意味着我们只需要两种状态:“有”和“无”,这在物理上最容易实现。
Leibniz discovered that all numbers can be represented using just two symbols: 0 and 1. For instance, the familiar number 5 is written as 101 in binary; 13 becomes 1101. This seemingly simple discovery actually laid the foundation for all future digital computers. Because representing information with 0 and 1 means we only need two states: "on" and "off"—the easiest states to implement physically.
真空管与晶体管:电子时代的降临
Vacuum Tubes and Transistors: The Arrival of the Electronic Age
时间继续前进,来到19世纪末和20世纪初。电力的广泛应用让计算装置焕发了新的生机。1888年,美国发明家赫尔曼·霍尔瑞斯(Herman Hollerith)发明了著名的制表机(Tabulating Machine),这是一台用打孔卡来存储和处理数据的机器。你可以把打孔卡想象成一种“硬编码”的信息载体:卡上有孔代表1,没孔代表0,不同位置的孔组合代表不同的数据。
Time marches forward to the late 19th and early 20th centuries. The widespread application of electricity gave computing devices new life. In 1888, American inventor Herman Hollerith invented the famous Tabulating Machine, a device that used punched cards to store and process data. You can think of punched cards as a form of "hard-coded" information storage: holes represent 1, no holes represent 0, and different hole patterns represent different data.
霍尔瑞斯的制表机在1890年美国人口普查中大显身手。在那个没有计算机的年代,这台机器竟然在短短两年内就完成了原本需要数年才能完成的全部人口统计数据处理工作!这让霍尔瑞斯看到了巨大的商机,他后来创立的公司就是IBM的前身——制表机公司(Tabulating Machine Company)。
Hollerith's tabulating machine truly shone during the 1890 US Census. In an era without computers, this machine somehow completed all the population data processing that would normally take years—in just two years! This convinced Hollerith of the massive business potential, and the company he later founded became the precursor to IBM: the Tabulating Machine Company.
真正让电子计算成为可能的,是两项关键技术的发明:真空管和晶体管。
What made electronic computing truly possible were two key technologies: the vacuum tube and the transistor.
1904年,英国工程师约翰·安布罗斯·弗莱明(John Ambrose Fleming)发明了真空二极管;1906年,美国发明家李·德弗雷斯特(Lee de Forest)在此基础上发明了真空三极管。真空管的工作原理其实并不复杂:在一个抽真空的玻璃管里,有两个或多个电极。当电流通过时,可以控制电子的流动,从而实现信号的放大和开关控制。
In 1904, British engineer John Ambrose Fleming invented the vacuum diode; in 1906, American inventor Lee de Forest built upon this to create the vacuum triode. The working principle of vacuum tubes is actually not that complicated: inside an evacuated glass tube, there are two or more electrodes. When current passes through, it can control the flow of electrons, enabling signal amplification and switching control.
用通俗的话说,真空管就像一个用电流控制的电灯开关:给电极通电,开关就打开;切断电流,开关就关闭。因为这个特性,真空管特别适合表示二进制信息——开(1)或者关(0)。更重要的是,真空管可以以极快的速度进行开关切换,这意味着它可以实现高速计算。
Simply put, a vacuum tube is like an electrically controlled light switch: apply current, the switch opens; cut the current, the switch closes. Because of this characteristic, vacuum tubes are perfect for representing binary information—on (1) or off (0). More importantly, vacuum tubes can switch on and off at extremely high speeds, meaning they can achieve rapid calculations.
1946年,世界上第一台通用电子计算机ENIAC(Electronic Numerical Integrator and Computer)诞生了。这台庞然大物重达30吨,占据了整整一个房间的空间,里面安装了18000多个真空管。ENIAC每秒可以进行5000次加法运算或500次乘法运算——在当时这已经是令人瞠目结舌的速度了。
In 1946, the world's first general