Abstract

Quantum computers can solve certain problems more efficiently than any possible conventional computer. Small quantum algorithms have been demonstrated on multiple quantum computing platforms, many specifically tailored in hardware to implement a particular algorithm or execute a limited number of computational paths(1-10). Here we demonstrate a five-qubit trapped-ion quantum computer that can be programmed in software to implement arbitrary quantum algorithms by executing any sequence of universal quantum logic gates. We compile algorithms into a fully connected set of gate operations that are native to the hardware and have a mean fidelity of 98 per cent. Reconfiguring these gate sequences provides the flexibility to implement a variety of algorithms without altering the hardware. As examples, we implement the Deutsch-Jozsa(11) and Bernstein-Vazirani(12) algorithms with average success rates of 95 and 90 per cent, respectively. We also perform a coherent quantum Fourier transform(13,14) on five trapped-ion qubits for phase estimation and period finding with average fidelities of 62 and 84 per cent, respectively. This small quantum computer can be scaled to larger numbers of qubits within a single register, and can be further expanded by connecting several such modules through ion shuttling(15) or photonic quantum channels(16).

Publication Details
Publication Type
Journal Article
Year of Publication
2016
Volume
536
Number of Pages
63-+
DOI
10.1038/nature18648
Journal
Nature
Contributors
Date Published
08/2016