Blog

Discover how we are pushing the boundaries in the world of quantum computing

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
technical
All
January 8, 2024
Sequence Processing with Quantum Tensor Networks

For the first time, Quantinuum researchers have run scalable quantum natural language processing (QNLP) models, able to parse and process real-world data, on a quantum computer. In a recent paper, the researchers define machine learning models for the task of classifying sequences – which can be anything from sentences in natural language, like movie reviews, to bioinformatic strings, like DNA sequences. Classifying sequences of symbols – letters, words, or longer fragments of text – is an obviously useful computational task, and has led to some of the decade’s biggest changes; we now see this technology in use in everything from chatbots to legal cases.  

Current classical models, which are based on neural networks, primarily look at the statistical distributions of where words are put with respect to each other – they don’t really consider the structure of language a priori (they could, but they don’t). In contrast, syntactic information scaffolds Quantinuum’s new quantum models, which are based on tensor networks, making them “syntax-aware”. Considering things like structure and syntax from the beginning allows scientists to create models with far fewer parameters, that require fewer gate operations to run, while allowing for interpretability thanks to the meaningful structure baked in from the start. Interpretability is the most pressing challenge in artificial intelligence (AI) — because if we don’t know why an algorithm has given an answer, we can’t trust it in critical applications, for instance in making medical decisions, or in scenarios where human lives are at stake.

Both neural and tensor networks can capture complex correlations in large data, but the way they do it is fundamentally different. In addition, since quantum theory inherently is described by tensor networks, using them to build quantum natural language processing models allows for the investigation of the potential that quantum processors can bring to natural language processing specifically, and artificial intelligence in general.

Thanks to best-in-class features like mid-circuit measurement and qubit reuse on Quantinuum’s H2-1 quantum processor, they were able to fit much larger circuits than one might naively expect. For example, the researchers were able to run a circuit that would normally take 64 qubits on only 11 qubits. Combined with the reduced number of gates required, these models are entirely feasible on current quantum hardware.

This paper shows us that we can run, train, and deploy QNLP models on present-day quantum computers. When compared to neural-network-based classifiers, the quantum model does just as well on this task in terms of prediction accuracy. What’s more, this work encourages the exploration of quantum language models, as sampling from quantum circuits of the types used in this work could require polynomially fewer resources than simulating them classically. 

technical
All
October 24, 2023
A Quantinuum-led team has built the quantum programming tools for real-time magic state distillation on a quantum computer

Building a quantum computer that offers advantages over classical computers is the goal of quantum computing groups worldwide. A competitive quantum computer must be “universal”, requiring the ability to perform all operations already possible on a classical computer, as well as new ones specific to quantum computing. Of course, that’s just the beginning – it should also be able to do this in a reasonable amount of time, to deal effectively with noise from the environment, and to perform computations to arbitrary accuracy.

This is a lot to get right, and over the years quantum computer scientists have described ways to solve these often-overlapping challenges. To deal with noise from the environment and achieve arbitrary accuracy, quantum computers need to be able to keep going even as noise accumulates on the quantum bits, or qubits, which hold the quantum information. Such fault-tolerance may be achieved using quantum error correction, where ensembles of physical qubits are encoded into logical qubits and those are used to counteract noise and perform computational operations called gates. Unfortunately, no single quantum error correction code plays well with the goal of universality because all codes lack a complete universal set of fault-tolerant gates (the technical reason for this comes down to the way quantum gates are executed between logical qubits – the native gate set on error-corrected logical qubits are known by experts as transversal gates, and they do not include all the gates needed for universal quantum computing).

The solution to this obstacle to universality is a magic state, a quantum state which provides for the missing gate when error correcting codes are used. High fidelity magic states are achieved by a process of distillation, which purifies them from other noisier magic states. It is widely recognized that magic state distillation is one of the totemic challenges on the path towards universal, fault-tolerant quantum computing. Quantinuum’s scientists, in close collaboration with a team at Microsoft, set out to demonstrate the distillation process in real-time using physical qubits on a quantum computer for the first time.

The results of this work are available in a new paper, Advances in compilation for quantum hardware -- A demonstration of magic state distillation and repeat until success protocols.

Magic state distillation

How does magic state distillation work? Imagine a factory, taking in many qubits in imperfect initial states at one end. Broadly speaking, the factory distills the imperfect states into an almost pure state with a smaller error probability, by sending them through a well-defined process over and over. In this case, the process takes in a group of five qubits. It applies a quantum error correcting code that entangles these five qubits, with four used to test whether the fifth, target qubit has been purified. If the process fails, the ensemble is discarded and the process repeats. If it succeeds, the newly distilled target qubit is kept and combined with four other successes to form a new ensemble, which then rejoins the process of continued purification. By undertaking this process many times, the purity of the magic state increases at each step, gradually moving towards the conditions required for universal, fault-tolerant quantum computing.

Despite being the subject of theoretical exploration over decades, real-time magic state distillation had never been realized on a quantum computer. In typical pioneering style, the Quantinuum and Microsoft team decided to take on this challenge. But before they could get started, they recognized that their toolset would have to be significantly sharpened up.

Creating new tools for quantum programming

At the heart of magic state distillation is a highly complex repeating process, which requires state-of-the-art protocols and control flow logic built on a best-in-class programming toolset. The research team turned to Quantum Intermediate Representation (QIR) to simplify and streamline the programming of this complex quantum computing process.

QIR is a is a quantum-specific code representation based on the popular open-sourced classical LLVM intermediate language, with the addition of structures and protocols that support the maturation and modernization of quantum computing. QIR includes elements that are essential in classical computing, but which are yet to be standardized in quantum computing, such as the humble programming loop.

Loops, which often take forms like "for...next" or "do...while," are central to programming, allowing code to repeat instructions in a stepwise manner until a condition is met. In quantum computing, this is a tough challenge because loops require control flow logic and mid-circuit measurement, which are difficult to realize in a quantum computer but have been demonstrated in Quantinuum’s System Model H1-1, Powered by Honeywell. Loops are essential for realizing magic state distillation and it’s well-understood that LLVM is great at optimizing complex control flow, including loops. This made magic state distillation a natural choice for demonstrating a valuable application of QIR and making for a great example of the use of a classical technique in a quantum context.

Result: demonstrating a magic state distillation protocol

The team used Quantinuum’s H1-1 quantum computer – benefiting from industry-leading components such as mid-circuit measurement, qubit reuse and feed-forward – to make possible the quantum looping required for a magic state distillation protocol, and becoming the first quantum computing team ever to run a real-time magic state distillation protocol on quantum hardware.

Four ways to achieve a quantum computer programmable loop

Building on this success, the team designed further experiments to assess the potential of four methods for exploring the use of a quantum protocol called a repeat-until-success (RUS) circuit to achieve a loop process. First, they hard-coded a loop directly into the extended OpenQASM 2.0, a widely used quantum assembly language, but which requires additional overhead to target advanced components on Quantinuum's very versatile H-Series quantum computer. Against this, they compared two alternative methods for coding a loop in a standard high-level programming language: controlled recursion, which was directed through both OpenQASM and through QIR; and a native for loop made possible within QIR.

The results were clear-cut: the hard-coded OpenQASM 2.0 loop performed as well as the theoretical prediction, maintaining high quality results after a number of loops, as did the natively-coded QIR for loop. The two recursive loops saw the quality of their results drop away fast as the loop limit was raised. But in a head-to-head between hard-coded OpenQASM and QIR, which converts high-level source code from many prominent and familiar languages into low-level machine code, QIR won hands-down on the basis of practicality.

A graph of a graphDescription automatically generated
Figure 1: comparison of programmed loops by the survival fidelity of the target qubit in the X-basis

Martin Roetteler, Director of Quantum Applications at Microsoft, shared: “This was a very exciting exploration of control flow logic on quantum hardware. In seeking to understand the capabilities of QIR to optimize programming structures on real hardware, we were rewarded with a clear answer, and an important demonstration of the capabilities of QIR.”

H2’s 32 qubits will power the next phase

In follow-up work, the team is now preparing to run a logical magic state protocol on the H2-1 quantum computer with its 32 high-fidelity qubits, and hopes to become the first group to successfully achieve logical magic state distillation. The features and fidelity offered by the H2 make it one of the best quantum computers currently capable of shooting for such a major milestone on the journey towards fault tolerance, while the current work demonstrates that, in QIR, the necessary control flow logic is now available to achieve it.

The paper discussed in this post was authored by Natalie C. Brown, John P. Campora III, Cassandra Granade, Bettina Heim, Stefan Wernli, Ciaran Ryan-Anderson, Dominic Lucchetti, Adam Paetznick, Martin Roetteler, Krysta Svore and Alex Chernoguzov.

technical
All
October 24, 2023
The Role of Technology Vendors in Your Quantum-Safe Migration

Who is responsible for migrating your systems to quantum-safe algorithms? Is it your vendors or your cybersecurity team?  

The customers I speak to are not always clear on this question. But from my perspective, the answer is your cybersecurity team. They have the ultimate responsibility of ensuring your organization is secure in a post-quantum future. However, they will need a lot of help from your technology vendors.

This article outlines what you should expect (or demand) from your vendors, and what remains the responsibility of your cyber team.

What To Expect From General Vendors

A general vendor does not offer specific cryptographic services to you. Instead, they provide a business service that uses cryptography to maintain security and resilience.

Consider the accounting platform SAP. It is no doubt riddled with cryptography, yet its purpose is to manage your finances. Therefore, SAP’s focus will be on migrating their underlying cryptography to post-quantum technologies, while maintaining your business services without interruption.

You should expect a general vendor to share a quantum-safe migration roadmap with you, complete with timelines. They should explain the activities they will complete to address the quantum threat, and how they will impact you as a user.

Although your vendor will not begin migration until the NIST post-quantum algorithms are standardised next year, you should expect them to already have a roadmap in place. If they don’t, this is a cause for concern.

Some vendors may already offer a test version of their product, which uses post-quantum algorithms. This allows your cyber team to experiment with the impact on performance or interoperability.

What To Expect From Cryptographic Vendors

A cryptographic vendor provides you with services directly related to cryptography, such as network security, data encryption or key management.

The expectations that apply to general vendors also apply to cryptographic vendors. However, you will need more information from your cryptographic vendors to pull off a smooth migration.

Cryptographic vendors must provide you with detailed guidance on how to migrate between their current product suite and the new versions that use post-quantum algorithms. For instance, you might need to understand how to re-process legacy data so that it’s protected by the new algorithms. Similarly, network security vendors will need to provide detailed instructions on migrating traffic flows while maintaining uptime.

I would expect cryptographic vendors to be far more hands-on during your migration. Expect to have discussions of your deployment architecture with their account management teams, and don’t be afraid to ask the hard technical questions.

What Information You Should be Ready to Share

The flow of information will not be one-way. You should be prepared to share information with your vendors to help them help you.

Having your migration plan developed, at least at a high level, will be critical for meaningful conversations with your vendors. This will allow you to contrast their timelines for migration versus your expectations.

Vendors will also benefit from understanding how you use their products in conjunction with products from other vendors. The goal here is to spot edge cases, where you risk business downtime because the vendor wasn’t anticipating how you were using their product.

Finally, make sure you know the configuration of your deployment. The devil is in the details when it comes to planning migration, so be prepared to tell your vendor which features you are using and how you’ve configured product security settings.

What is Out of Scope for Your Vendor?

While your vendors should provide a lot of help and guidance, they are not responsible for everything.

Your cybersecurity team will be responsible for planning your overall migration strategy, including prioritising which systems to migrate first. This will involve understanding the relative importance of business systems, and the requirements for data security.

While vendors should provide some guidance for interoperability, ultimately the IT and cybersecurity teams are responsible for ensuring updates to one service do not impact another service.

Finally, you must ensure your IT and cyber teams are leading the conversation with your end users. You cannot rely on vendors to manage the communication with your customers and internal stakeholders.

What Should You Expect to See Today?

A good vendor will already be talking to you about their plans for quantum-safe migration.

For mass-market products, this might be via blog posts and thought-leadership articles. For products with a deeper client/vendor relationship, the topic of quantum-safe migration should already be appearing in quarterly business reviews.

For cryptographic vendors, you should also be expecting test versions to be available today, to allow for experimentation.

Overall, if any vendor is not able to talk about their plans for quantum-safe migration today, even at a high level, then you should flag this as a cause for concern.

technical
All
September 25, 2023
Quantinuum uses the extremely high precision of the H2-1 quantum computer to take a step forward in the race to understand exotic physics

Some of the more pressing and intractable problems in physics may be closer to being answered, such as the nature of superconductivity and other exotic properties, thanks to work done by a team at Quantinuum using the H2-1 trapped-ion quantum computer.  

Detailed in a scientific paper available on arXiv, the team used the H2-1 device to measure the “Loschmidt amplitude”, which quantifies how much a quantum system has changed after some time has passed (for the experts: this is the inner product between the time-evolved state and the initial state). Measuring the Loschmidt amplitude is central to several proposed quantum computing algorithms, including one described in the seminal work of Lu, Banuls and Cirac (2019). Their algorithm is a non-variational, hybrid quantum-classical scheme aimed at obtaining equilibrium properties of quantum systems. This is the first experimental demonstration of the quantum computation required for this algorithm.

To sweeten the pot, the research team measured the Loschmidt amplitude of a beloved, much-studied, and not-fully-understood model called the “Fermi-Hubbard” model. The Fermi-Hubbard model is used, among other things, to help scientists understand superconductivity, which is very challenging to explore fully with classical computing methods. When Richard Feynman “launched” the field of quantum computing with a famous talk in 1981, it was exactly this type of system he proposed we study with quantum computers: large quantum-mechanical systems that are difficult or impossible to effectively simulate classically. Using quantum computers to gain greater insights into the Fermi-Hubbard model could take us one step closer to understanding the behavior of high-temperature superconductors, a valuable goal with the potential to transform multiple industries.

A measurement of the Loschmidt amplitude is difficult because it is a “global observable”, meaning that any error in the quantum calculation will have an impact on the final results. This work highlights the outstanding precision of Quantinuum’s System Model H2 quantum computers. In particular, the trapped ion architecture allows for almost perfect state preparation and measurement, which is a necessary condition for such kind of calculations. Until now, this model had not been simulated with more than 16 qubits, in part because the gate operations applied are so complex. This paper explores the model on 32 qubits and includes a number of difficult elements; such as Schrodinger cat states, deep circuits, and complex Hamiltonians, making for a powerful demonstration of the H2-1 system capabilities. 

While this work is certainly a “NISQ”-era result, it shows that quantum computing can achieve interesting milestones without error correction – highlighting the fact that quantum methods may offer real advantages over classical methods in the near future. In addition, the team noted that while analog quantum simulators have made substantial progress in the study of exotic systems over the past decade, using a quantum computer to study these same systems allows for a wider exploration of the parameter space than Nature herself allows in laboratory simulations.

A more complex version of the algorithm will need to be implemented in the future to unlock the secrets of materials like superconductors, but in the meantime this work highlights the fact that Quantinuum is closing in on the answer to extremely relevant open questions, so far intractable with existing classical methods.

events
All
September 1, 2023
IEEE Quantum Week 2023

The IEEE International Conference on Quantum Computing and Engineering – or IEEE Quantum Week – is September 17 – 22 this year. Quantinuum is pleased to support IEEE’s efforts to bring engineers, scientists, researchers, students and others together to learn and encourage collaborations to advance quantum computing.

At the event, the Quantinuum team will be participating in a variety of sessions vital to the growth of the quantum ecosystem. Topics include photonics and fault tolerance strategies for scaling quantum computers, optimizing circuit compilation incorporating ZX-calculus as a simplification tool, and culture and policies.

Please see the complete list of sessions featuring Quantinuum team members below.

Tutorials

Quantum circuit compilation and classical control with TKET, Tuesday, Sept 19, 10:00am - 4:30pm, presented by Callum MacPherson, Technical support, training and outreach officer, and Lewis Wright, Quantum Algorithms Scientist

Quantum in Pictures in Practice, Wednesday, Sept 20, 10:00am – 4:30pm, presented by Lia Yeh, Research Engineer, Thomas Cervoni, Public Engagement and Academic Relations, and Harny Wang, Senior Research Fellow

Workshops

Quantum Computing Market Success Requires an Application-level Programming Model that Delivers Performance, Tuesday, Sept 19, 10:00am – 4:30pm, with Megan Kohagen, Lead Application Engineer

Quantum Computing for Natural Sciences: Technology and Applications, Wednesday, Sept 20, 10:00am – 4:30pm, with Lia Yeh, Research Engineer

Classical Control Systems for Quantum Computing, Wednesday, Sept 20, 10:00am – 4:30pm, with David Liefer, Chief Electrical Engineer

Emerging Technologies for Scaling Trapped-ion Quantum Systems, Thursday, Sept 21, 10:00am – 4:30pm, with Patty Lee, Chief Scientist for Hardware Technology Development

Quantum Algorithms for Financial Applications​, Friday, Sept 22, 10:00 – 4:30pm, with David Amaro, Senior Research Scientist

Technology Roadmapping for Quantum Computing​, Friday, Sept 22, 1:00 – 2:30pm, with Patty Lee, Chief Scientist for Hardware Technology Development

Panels

What’s in your photonics for quantum toolbox?, Monday, Sept 18, 10:00 – 11:30am, with Mary Rowe, Integrated Photonics Technical Manager

From the Capitol to the Laboratory: How Industry and Academia can Leverage National Policy for Funding of QIS, Wednesday, Sept 20, 3:00 – 4:30pm, with Ryan McKenney, Associate General Counsel, Compliance and Director of Government Relations

Real-Time decoding for in fault-tolerant era​, Thursday, Sept 21, 3:00 – 4:30pm, with Natalie Brown, Senior Advanced Physicist

Changing DEIA Culture and Environment in Industry​, Friday, Sept 22, 10:00 – 11:30am, with Sam Parsons, HR Director

*All sessions are listed in Washington time, Pacific Time Zone