Hello,

We noticed you're browsing in private or incognito mode.

To continue reading this article, please exit incognito mode or log in.

Not an Insider? Subscribe now for unlimited access to online articles.

  • A scientist at the IBM Q computation center in Yorktown Heights, New York. The center houses IBM’s most advanced quantum computers.
  • IBM Research | Flickr
  • Intelligent Machines

    Quantum Computers Barely Exist—Here’s Why We’re Writing Languages for Them Anyway

    There may soon be more quantum programming languages than there are quantum computers.

    Quantum computers are still extremely rudimentary, and largely remain intriguing playthings in a few advanced research labs. That hasn’t deterred people from developing new programming languages for them.

    The most recent one comes from Microsoft, which has unveiled Q# (pronounced Q sharp) and some associated tools to help developers use it to create software. It joins a growing list of other high-level quantum programming languages such as QCL and Quipper.

    But given that practically nobody has a quantum computer, what’s the point?

    Krysta Svore, principal research manager in quantum computing at Microsoft, says the languages are needed because the ones written for today’s computers won’t work for quantum ones. Classical computers encode information in binary form as a sequence of ones and zeros, whereas quantum computers use quantum bits—or “qubits”—which can effectively encode one and zero at the same time.

    This creates vast amounts of parallel processing power, and explains why there’s such great interest in efforts to build the machines. The hope is that quantum computers will help drive significant advances in fields ranging from materials science to artificial intelligence (see “A Startup Uses Computing to Boost Machine Learning”).

    Sign up for the Chain Letter
    Blockchains, cryptocurrencies, and why they matter.

    By signing up you agree to receive email newsletters and notifications from MIT Technology Review. You can change your preferences at any time. View our Privacy Policy for more detail.

    But to fully exploit that power or even explore what’s possible, developers will need quantum languages to help them create software that takes full advantage of the computers’ capabilities.

    Programming languages for classical computers are designed in a way that doesn’t require developers to know how a central processing unit works. The push now is to create high-level quantum programming languages that also shield developers from the complexities of quantum hardware. 

    The quirks of quantum computing create limitations that don’t exist in classical programming languages. One example: quantum programs can’t have loops in them that repeat a sequence of instructions; they have to run straight through to completion. 

    To deal with such issues, Q# works in conjunction with a couple of classical languages. Developers without quantum expertise can write their main programs in familiar languages and then use a Q# program when they want to engage quantum processing power.

    Although it doesn’t have a quantum computer of its own yet, Microsoft has released simulators that let developers test programs developed in Q# on desktop computers or on its Azure cloud-computing service. IBM is also offering simulators, and a few lucky developers can even run their code directly on its quantum machine.

    Xiaodi Wu, a quantum programming language expert at the University of Maryland, sees new high-level quantum languages as a logical next step. “This will open the door to more people using these machines,” he says, “which could lead to new fields of inquiry for the quantum research community.”

    There have been some calls to make new quantum languages open source so that the broader developer community can offer input. The idea is that this might give quantum computing the same kind of boost that the development of Linux gave to the Internet.

    Language developers also have another target: students thinking about future careers. New languages that make quantum computing more accessible should entice more people into the field. “We want to develop the quantum workforce,” says Svore, “because quantum computing will unlock a whole new economy, and we’re going to need people who are quantum programmers, algorithm developers, and engineers.”

    Be the leader your company needs. Implement ethical AI.
    Join us at EmTech Digital 2019.

    Register now
    More from Intelligent Machines

    Artificial intelligence and robots are transforming how we work and live.

    Want more award-winning journalism? Subscribe and become an Insider.
    • Insider Plus {! insider.prices.plus !}* Best Value

      {! insider.display.menuOptionsLabel !}

      Everything included in Insider Basic, plus the digital magazine, extensive archive, ad-free web experience, and discounts to partner offerings and MIT Technology Review events.

      See details+

      Print + Digital Magazine (6 bi-monthly issues)

      Unlimited online access including all articles, multimedia, and more

      The Download newsletter with top tech stories delivered daily to your inbox

      Technology Review PDF magazine archive, including articles, images, and covers dating back to 1899

      10% Discount to MIT Technology Review events and MIT Press

      Ad-free website experience

    • Insider Basic {! insider.prices.basic !}*

      {! insider.display.menuOptionsLabel !}

      Six issues of our award winning print magazine, unlimited online access plus The Download with the top tech stories delivered daily to your inbox.

      See details+

      Print Magazine (6 bi-monthly issues)

      Unlimited online access including all articles, multimedia, and more

      The Download newsletter with top tech stories delivered daily to your inbox

    • Insider Online Only {! insider.prices.online !}*

      {! insider.display.menuOptionsLabel !}

      Unlimited online access including articles and video, plus The Download with the top tech stories delivered daily to your inbox.

      See details+

      Unlimited online access including all articles, multimedia, and more

      The Download newsletter with top tech stories delivered daily to your inbox

    /3
    You've read of three free articles this month. for unlimited online access. You've read of three free articles this month. for unlimited online access. This is your last free article this month. for unlimited online access. You've read all your free articles this month. for unlimited online access. You've read of three free articles this month. for more, or for unlimited online access. for two more free articles, or for unlimited online access.