A new language for quantum computing | MIT News | Massachusetts Institute of Technology – MIT News
Time crystals. Microwaves. Diamonds. What do these three disparate things have in common?
Quantum computing. Unlike traditional computers that use bits, quantum computers use qubits to encode information as zeros or ones, or both at the same time. Coupled with a cocktail of forces from quantum physics, these refrigerator-sized machines can process a whole lot of information but theyre far from flawless. Just like our regular computers, we need to have the right programming languages to properly compute on quantum computers.
Programming quantum computers requires awareness of something called entanglement, a computational multiplier for qubits of sorts, which translates to a lot of power. When two qubits are entangled, actions on one qubit can change the value of the other, even when they are physically separated, giving rise to Einsteins characterization of spooky action at a distance. But that potency is equal parts a source of weakness. When programming, discarding one qubit without being mindful of its entanglement with another qubit can destroy the data stored in the other, jeopardizing the correctness of the program.
Scientists from MITs Computer Science and Artificial Intelligence (CSAIL) aimed to do some unraveling by creating their own programming language for quantum computing called Twist. Twist can describe and verify which pieces of data are entangled in a quantum program, through a language a classical programmer can understand. The language uses a concept called purity, which enforces the absence of entanglement and results in more intuitive programs, with ideally fewer bugs. For example, a programmer can use Twist to say that the temporary data generated as garbage by a program is not entangled with the programs answer, making it safe to throw away.
While the nascent field can feel a little flashy and futuristic, with images of mammoth wiry gold machines coming to mind, quantum computers have potential for computational breakthroughs in classically unsolvable tasks, like cryptographic and communication protocols, search, and computational physics and chemistry. One of the key challenges in computational sciences is dealing with the complexity of the problem and the amount of computation needed. Whereas a classical digital computer would need a very large exponential number of bits to be able to process such a simulation, a quantum computer could do it, potentially, using a very small number of qubits if the right programs are there.
Our language Twist allows a developer to write safer quantum programs by explicitly stating when a qubit must not be entangled with another, says Charles Yuan, an MIT PhD student in electrical engineering and computer science and the lead author on a new paper about Twist. Because understanding quantum programs requires understanding entanglement, we hope that Twist paves the way to languages that make the unique challenges of quantum computing more accessible to programmers.
Yuan wrote the paper alongside Chris McNally, a PhD student in electrical engineering and computer science who is affiliated with the MIT Research Laboratory of Electronics, as well as MIT Assistant Professor Michael Carbin. They presented the research at last week's 2022 Symposium on Principles of Programming conference in Philadelphia.
Untangling quantum entanglement
Imagine a wooden box that has a thousand cables protruding out from one side. You can pull any cable all the way out of the box, or push it all the way in.
After you do this for a while, the cables form a pattern of bits zeros and ones depending on whether theyre in or out. This box represents the memory of a classical computer. A program for this computer is a sequence of instructions for when and how to pull on the cables.
Now imagine a second, identical-looking box. This time, you tug on a cable, and see that as it emerges, a couple of other cables are pulled back inside. Clearly, inside the box, these cables are somehow entangled with each other.
The second box is an analogy for a quantum computer, and understanding the meaning of a quantum program requires understanding the entanglement present in its data. But detecting entanglement is not straightforward. You cant see into the wooden box, so the best you can do is try pulling on cables and carefully reason about which are entangled. In the same way, quantum programmers today have to reason about entanglement by hand. This is where the design of Twist helps massage some of those interlaced pieces.
The scientists designed Twist to be expressive enough to write out programs for well-known quantum algorithms and identify bugs in their implementations. To evaluate Twist's design, they modified the programs to introduce some kind of bug that would be relatively subtle for a human programmer to detect, and showed that Twist could automatically identify the bugs and reject the programs.
They also measured how well the programs performed in practice in terms of runtime, which had less than 4 percent overhead over existing quantum programming techniques.
For those wary of quantums seedy reputation in its potential to break encryption systems, Yuan says its still not very well known to what extent quantum computers will actually be able to reach their performance promises in practice. There's a lot of research that's going on in post-quantum cryptography, which exists because even quantum computing is not all-powerful. So far, there's a very specific set of applications in which people have developed algorithms and techniques where a quantum computer can outperform classical computers.
An important next step is using Twist to create higher-level quantum programming languages. Most quantum programming languages today still resemble assembly language, stringing together low-level operations, without mindfulness towards things like data types and functions, and whats typical in classical software engineering.
Quantum computers are error-prone and difficult to program. By introducing and reasoning about the purity of program code, Twist takes a big step towards making quantum programming easier by guaranteeing that the quantum bits in a pure piece of code cannot be altered by bits not in that code, says Fred Chong, the Seymour Goodman Professor of Computer Science at the University of Chicago and chief scientist at Super.tech.
The work was supported, in part, by the MIT-IBM Watson AI Lab, the National Science Foundation, and the Office of Naval Research.
Read this article:
A new language for quantum computing | MIT News | Massachusetts Institute of Technology - MIT News
- Turkey Launches First 5-Qubit Quantum Computer, Called QuanT, Marking National Technology Breakthrough for the Country - Quantum Computing Report - November 23rd, 2024 [November 23rd, 2024]
- Toshiba and RIKEN Achieve 99.90% Fidelity with Double-Transmon Coupler for Superconducting Quantum Computers - Quantum Computing Report - November 23rd, 2024 [November 23rd, 2024]
- IBM and Pasqal to Advance Quantum-Centric Supercomputing with a Unified Framework - Quantum Computing Report - November 23rd, 2024 [November 23rd, 2024]
- Up 43% Today, This Quantum Computing Stock Has More Than Tripled In November - Barchart - November 21st, 2024 [November 21st, 2024]
- Quantum computing making leap from theoretical to practical - Hamburg Invest - November 21st, 2024 [November 21st, 2024]
- Google Unveils AlphaQubit: AI-Driven Breakthrough in Quantum Error Correction - Quantum Computing Report - November 21st, 2024 [November 21st, 2024]
- Lightsynq Comes Out of Stealth with $18 Million in Series A Funding to Scale Quantum Computing - The Quantum Insider - November 21st, 2024 [November 21st, 2024]
- How Clean Does a Quantum Computing Test Facility Need to Be? - HPCwire - November 21st, 2024 [November 21st, 2024]
- Alice & Bob Launch Dynamiqs: A GPU-Accelerated Library for High-Speed Quantum Simulations - Quantum Computing Report - November 21st, 2024 [November 21st, 2024]
- Microsoft and Atom Computing Are Taking Orders for a Fault Tolerant Quantum Computer with 1K (Physical) / 50 (Logical) Qubits for Delivery Next Year -... - November 21st, 2024 [November 21st, 2024]
- Nurturing The Emerging Ecosystem Of Industry-Academia Collaboration In Quantum Computing - NDTV Profit - November 21st, 2024 [November 21st, 2024]
- Microsoft and Atom Computing leap ahead on the quantum frontier with logical qubits - GeekWire - November 21st, 2024 [November 21st, 2024]
- Quantum Computing and the Evolving Cyber Threat Landscape - The Soufan Center - November 16th, 2024 [November 16th, 2024]
- What is quantum computing and how might it impact financial services? - Lloyds Banking Group - November 16th, 2024 [November 16th, 2024]
- Quantum Computing to sell 16M shares at $2.50 in registered direct offering - TipRanks - November 16th, 2024 [November 16th, 2024]
- How 'clean' does a quantum computing test facility need to be? - Phys.org - November 14th, 2024 [November 14th, 2024]
- Quantum Computing Shares Are Up By More Than 70%: Here's What You Need To Know - Benzinga - November 14th, 2024 [November 14th, 2024]
- In step forward for quantum computing hardware, IU physicist uncovers novel behavior in quantum-driven superconductors - IU Newsroom - November 14th, 2024 [November 14th, 2024]
- Closing in on quantum computing with error mitigation - ComputerWeekly.com - November 14th, 2024 [November 14th, 2024]
- IQM unveils roadmap focused on fault-tolerant quantum computing by 2030 - Scientific Computing World - November 14th, 2024 [November 14th, 2024]
- Quantum Computing is Coming - Is the Insurance Industry Ready? - - Insurance Edge - November 14th, 2024 [November 14th, 2024]
- Could Diamonds Unlock Improved Qubits for Quantum Computing? - Securities.io - November 14th, 2024 [November 14th, 2024]
- Enterprise Quantum Computing Market on Track for 29.7% CAGR | Key Growth Drivers and Future Opportunities - openPR - November 14th, 2024 [November 14th, 2024]
- Equal1s Quantum Computing Breakthough with Arm Technology - Arm Newsroom - November 14th, 2024 [November 14th, 2024]
- Quantum Algorithms Institute Partners with AbaQus and InvestDEFY to Enhance Financial Forecasting with Quantum Computing - Quantum Computing Report - November 14th, 2024 [November 14th, 2024]
- SemiQon and SDT Partner to Scale Quantum Computing with Silicon-Based QPUs - Quantum Computing Report - November 14th, 2024 [November 14th, 2024]
- The CIO's quantum leap into the cloud: Integrating quantum computing into cloud infrastructure - ITPro - November 14th, 2024 [November 14th, 2024]
- Massachusetts Invests $5 Million in New Quantum Computing Facility in Holyoke - This Week In Worcester - November 14th, 2024 [November 14th, 2024]
- Hamad Bin Khalifa University and Quantinuum Partner to Advance Quantum Computing in Qatar - The Quantum Insider - November 14th, 2024 [November 14th, 2024]
- Hamad Bin Khalifa University Partners with Quantinuum to Boost Quantum Computing Research in Qatar - Quantum Computing Report - November 14th, 2024 [November 14th, 2024]
- Singtel Expands Quantum-Safe Network with Palo Alto Networks and Fortinet Integration - Quantum Computing Report - November 14th, 2024 [November 14th, 2024]
- Quantum Computing Company to Part With General Counsel - Law.com - November 12th, 2024 [November 12th, 2024]
- Researchers from the University of Sydney demonstrate more effieicnt quantum error correction - Scientific Computing World - November 12th, 2024 [November 12th, 2024]
- Quantum computing will be the next big tech trend to have a major impact on marketing, says Citi CMO Alex Craddock - Business Insider - November 10th, 2024 [November 10th, 2024]
- A Look At The Official Opening of UKs National Quantum Computing Centre - The Quantum Insider - November 10th, 2024 [November 10th, 2024]
- IonQ Partners with imec to Advance Quantum Computing with Photonic Integrated Circuits and Chip-Scale Ion Traps - Quantum Computing Report - November 10th, 2024 [November 10th, 2024]
- BTQ Technologies and Macquarie University Partner to Drive Quantum Computing and Secure Communications - Quantum Computing Report - November 10th, 2024 [November 10th, 2024]
- IonQ to Acquire the Assets of Qubitekk to Strengthen Its Position in Quantum Networking Technology - Quantum Computing Report - November 10th, 2024 [November 10th, 2024]
- From nuclear to quantum computing, how Big Tech intends to power AI's insatiable thirst for energy - CNBC - November 10th, 2024 [November 10th, 2024]
- Quantum Computing and Critical Infrastructure - The Quantum Insider - October 16th, 2024 [October 16th, 2024]
- A Superconducting Waltz: Elia Strambini on the Quantum Future of Computing - The Quantum Insider - October 16th, 2024 [October 16th, 2024]
- Quantum computing and photonics discovery potentially shrinks critical parts by 1,000 times - Phys.org - October 16th, 2024 [October 16th, 2024]
- Nu Quantum Announces the Qubit-Photon Interface for Modular and Scalable Distributed Quantum Computing - The Quantum Insider - October 16th, 2024 [October 16th, 2024]
- How to Invest in Quantum Computing Companies (Updated 2024) - Investing News Network - October 16th, 2024 [October 16th, 2024]
- IBM pitches camp in Germany to prepare Quantum Computing for the real world - diginomica - October 16th, 2024 [October 16th, 2024]
- Purifications, Fidelity & the Future of Computing - The Quantum Insider - October 16th, 2024 [October 16th, 2024]
- Making quantum computing more accessible and applicable to real-world challenges - Scientific Computing World - October 16th, 2024 [October 16th, 2024]
- The future of quantum computing and cybersecurity in telecommunications - Telefnica - October 16th, 2024 [October 16th, 2024]
- Chinese Quantum Computing Threat Highlights Urgency for Quantum eMotion's Quantum Security Solutions - Newsfile - October 16th, 2024 [October 16th, 2024]
- Qunova Computing Achieves Chemical Accuracy in Quantum Chemistry Simulations with Innovative Hardware-Agnostic Algorithm on NISQ Devices - Quantum... - October 16th, 2024 [October 16th, 2024]
- Quantum Computing Transformed by Breakthrough Photonic Technology - SciTechDaily - October 12th, 2024 [October 12th, 2024]
- How Is Quantum Computing Being Used in Healthcare? - HealthTech Magazine - October 12th, 2024 [October 12th, 2024]
- IBM Quantum Roadmap Guide -- Scaling And Expanding The Usefulness of Quantum Computing - The Quantum Insider - October 12th, 2024 [October 12th, 2024]
- Toyota and Xanadu Partner to Bring Quantum Computing to Advanced Materials Science and Sensing Applications - The Quantum Insider - October 12th, 2024 [October 12th, 2024]
- 'Invisibility' and quantum computing tipped for physics Nobel - Yahoo! Voices - October 12th, 2024 [October 12th, 2024]
- Airbus Selects Multiverse Computing to Build Quantum-inspired Gesture Recognition Software For Fighter Pilots - The Quantum Insider - October 12th, 2024 [October 12th, 2024]
- From Legacy to Innovation: Banks' Path to Cloud, AI, and Quantum Computing - Finextra - October 12th, 2024 [October 12th, 2024]
- IBM Executive Stories: Bringing Useful Quantum Computing to the World - IBM - October 7th, 2024 [October 7th, 2024]
- Quantum Computing Market to Soar to $7.1B by 2031 with 30.7% CAGR - openPR - October 7th, 2024 [October 7th, 2024]
- Quantum Computing Market Is Going to Boom | Major Giants IBM, Google, Rigetti, Microsoft, Intel - openPR - October 7th, 2024 [October 7th, 2024]
- Will IBM's Focus on Quantum Computing Propel the Stock? - Yahoo Finance - October 7th, 2024 [October 7th, 2024]
- Nu Quantums Platform For Networking Quantum Computers Hosted at The UK's National Quantum Computing Centre - The Quantum Insider - October 7th, 2024 [October 7th, 2024]
- Quantum Computing for Real-world Applications with Professor Naoki Yamamoto of Keio University - The Quantum Insider - October 7th, 2024 [October 7th, 2024]
- University of Queensland (UQ) is Receiving $29 million AUD ($19.7M USD) in Funding for Quantum Research and Scholarships - Quantum Computing Report - October 7th, 2024 [October 7th, 2024]
- History of quantum computing: 12 key moments that shaped the future of computers - Livescience.com - October 3rd, 2024 [October 3rd, 2024]
- Quantum Sensors: Atom Interferometry. Part 3: Space is the Place - Quantum Computing Report - October 3rd, 2024 [October 3rd, 2024]
- D-Wave and Japan Tobacco Collaborate on a Quantum AI-Driven Drug Discovery Proof-of-Concept - Quantum Computing Report - October 3rd, 2024 [October 3rd, 2024]
- March-Ins on Quantum Computing is the Newest of Threats to Free Enterprise - ShortGo - October 3rd, 2024 [October 3rd, 2024]
- Quantum computing and the future of cryptography: Understanding the imminent threat - Backend News - October 3rd, 2024 [October 3rd, 2024]
- Quantum for AI: Weather Forecasting. Are we There Yet? - Quantum Computing Report - September 28th, 2024 [September 28th, 2024]
- US Implements Controls on Quantum Computing and other Technologies - HPCwire - September 28th, 2024 [September 28th, 2024]
- IBM opens its quantum-computing stack to third parties - Ars Technica - September 28th, 2024 [September 28th, 2024]
- G7 cyber group warns financial sector to prep for quantum computing risks - The Record from Recorded Future News - September 28th, 2024 [September 28th, 2024]
- IonQ Signs a $54.5 Million Contract with AFRL for Research in Both Quantum Computing and Quantum Networking - Quantum Computing Report - September 28th, 2024 [September 28th, 2024]
- Quantum computing what you need to know - Information Age - September 28th, 2024 [September 28th, 2024]
- AI and Quantum Computing Form Strong Bond to Power Materials Discovery Innovation -- SandboxAQ, EY Researchers Report - The Quantum Insider - September 28th, 2024 [September 28th, 2024]
- University of Iowa Technology Institute researcher secures nearly $1 million grant to advance quantum computing - Corridor Business - September 28th, 2024 [September 28th, 2024]
- Quantum Computing vs. Blockchain: Will It Break the System? - CCN.com - September 28th, 2024 [September 28th, 2024]
- The Pervasiveness of Machine Learning in Quantum Technology - Quantum Computing Report - September 28th, 2024 [September 28th, 2024]
- BlueQubit Launches Plugin for Pennylane to Enable Quantum Simulations on BlueQubits Platform - Quantum Computing Report - September 28th, 2024 [September 28th, 2024]