Archive for the ‘Quantum Computing’ Category

Enabling state-of-the-art quantum algorithms with Qedma’s error mitigation and IonQ, using Braket Direct | Amazon … – AWS Blog

This post was contributed by Eyal Leviatan, Barak Katzir, Eyal Bairey, Omri Golan, and Netanel Lindner from Qedma, Joshua Goings from IonQ, and Daniela Becker from AWS.

Quantum computing is an exciting, fast-paced field. And especially in these early days, unfettered access to the right set of resources is critical in order to accelerate experimentation and innovation. Amazon Braket provides customers access to a choice of quantum hardware and the tooling they need to experiment, while also enabling them to engage directly with experts across the field from scientists to device manufacturers.

In this post, the team from Qedma, a quantum software company, dives into how they used Braket Direct to accomplish a milestone demonstration of their error mitigation software on IonQs Aria device. Leveraging dedicated access to quantum hardware capacity using reservations and collaborating with IonQ scientists for expert guidance directly via AWS, Qedma was able to successfully execute some of the most challenging Variational Quantum Eigensolver (VQE) circuits on a quantum processor to date.

In todays quantum processing units (QPUs), the susceptibility to various forms of noise results in errors that corrupt the quantum program and eventually render the results useless. The accumulation of errors over time, limits the duration and therefore the performance of quantum algorithms. Thus, achieving quantum advantage the ability to perform computations on quantum computers significantly faster than with classical supercomputers, needs a solution to mitigate the detrimental impact of these errors and enable algorithms to scale.

Error mitigation aims to reduce the effect of errors on the outputs of circuits executed on noisy quantum devices. However, these improvements come at the cost of runtime overhead that increases with the number of two-qubit gates (circuit volume) in the circuit. To overcome this, Qedmas novel approach to error mitigation, and the Qedma Error Suppression and Error Mitigation (QESEM) product, requires exponentially less overhead compared to other methods and suppresses errors at the hardware level to run longer programs while maintaining reasonable runtimes, potentially accelerating the path to quantum advantage.

Below we detail how QESEM was used in conjunction with IonQs Aria device via Braket Direct to produce high-accuracy results for a variety of quantum chemistry and quantum materials applications. We also show how Braket Direct provided us with dedicated QPU access, ideally suited for QESEMs interactive workflow, as well as the ability to connect directly with IonQs hardware experts. Scientific guidance from IonQ was important for tailoring QESEM to make the best use of Aria, and for constructing novel quantum chemistry circuits for the demonstration. These included VQE and Hamiltonian simulation circuits on 12 qubits, leveraging the high connectivity of IonQs devices. The results presented in this blog post demonstrate how users can push the boundaries of quantum chemistry and materials applications accessible on IonQs devices with Qedmas error mitigation, powered by Braket Direct.

QESEM can be used with any quantum program. When applied, QESEM first carries out a hardware-specific characterization protocol. According to the deduced error model, QESEM recompiles the input quantum circuit to a set of circuits that are sent to the device; the measurement outcomes are then classically post-processed, returning high-accuracy outputs, as we demonstrate below. The characterization process underlying QESEM ensures that its results are unbiased for any circuit. This means that QESEM provides results whose accuracy is only limited by the QPU time allocated for execution. In contrast, many error mitigation methods are algorithm-specific or heuristic. Algorithm-specific methods are not designed to mitigate generic errors across any quantum circuit, whereas heuristic methods generically converge to an incorrect (biased) output [1]. Relative to the leading unbiased and algorithm-agnostic methods, QESEMs QPU time is exponentially shorter as a function of circuit volume, as shown below.

We applied QESEM to three circuits from various applications and with a range of structural circuit properties (see Table 1). Specifically, we created a reservation via Braket Direct to get dedicated device access to IonQs Aria device. The reservation enabled the entire QESEM workflow to execute within a single working session where exclusive QPU access avoided the need to wait in line, and optimized throughput resulted in the shortest possible runtime. Along with the inherent stability of the physical properties of IonQs Aria, the reduced runtime ensured minimal drift of the system parameters during our experiments. This allowed QESEM to obtain an efficient description of the noise model during the execution.

Table 1: Properties of the circuits we demonstrated QESEM on.

Compared to the number of qubits they employ, all three circuits are comprised of a relatively high number of unique two-qubit gates between different pairs of qubits. This is made possible by the all-to-all qubit connectivity of IonQs hardware, which can calibrate an entangling gate between any pair of qubits; each of those gates is uniquely facilitated through the vibrational modes of the ion chain encoding the qubits. On the one hand, high qubit connectivity allows the compilation of complex circuits without incurring significant depth overhead. In contrast, on devices with lower connectivity, e.g., square lattice, applying a two-qubit gate to qubits that are not connected requires additional SWAP gates. On the other hand, the ability to run a large number of two-qubit gates poses a challenge for any characterization-based error mitigation method, since the noise model becomes very complicated. To address this challenge, QESEM used a characterization model specifically tailored to trapped ions, efficiently describing the errors of trapped-ion devices using a tractable noise model.

The first two circuits are examples of the VQE algorithm, which aims to find the ground state energy of a quantum many-body system, e.g., a molecule [1]. The specific examples we ran were designed to find the ground states of the NaH and O2 molecules. The third circuit realized a Hamiltonian simulation algorithm, implementing the time evolution of a quantum spin-lattice. We first describe the VQE circuits and focus on the oxygen molecule O2. Our efforts concentrated there due to its relevance to industrial and biological processes, while striking a balance between complexity and tractability making it a robust test for todays quantum devices. Moreover, the O2 experiment used a circuit volume of 99 two-qubit gates, larger than all VQE circuits featured in a recent experimental survey [3].

Typically, the presence of errors severely limits the size of VQE circuits because of the need for particularly accurate results. The ability to leverage the all-to-all connectivity of trapped-ion devices to reduce gate overhead is therefore well suited to this type of algorithm. With Braket Direct, we were able to incorporate expert guidance from IonQ on how to maximize the benefit of using their high connectivity and compile directly to their native gates to optimize the VQE circuits for the Aria device and produce the best results.

IonQ brought their quantum chemistry expertise to the table, equipping Qedma with circuits precisely crafted for the O2 molecule. Designed to mirror full configuration interaction results [4], these circuits included a chemistry-inspired Ansatz [5] supplemented by particle-conserving unitaries, which reflects the underlying molecular electronic structure. Additionally, IonQ undertook the classical optimization of the circuit parameters, setting the ground work for Qedma to apply QESEM effectively during the final energy assessment.

QESEM significantly enhanced the accuracy of the ground-state energy of the O2 molecule. Running this VQE circuit on Aria without error mitigation and measuring the ground state energy yields the result shown in red in Figure 1. This unmitigated result, i.e. executed without error mitigation, misses its mark by roughly 30%. In black, we show the exact energy, as it would have been obtained from the VQE circuit had it been run on a noise-free, i.e., ideal device. Using QESEM, the error mitigated energy (blue) closely matches the exact result up to the statistical error bar corresponding to the finite mitigation time. Moreover, the error bar accompanying the mitigated result is small enough to indicate a very clear statistical separation from the unmitigated result.

Figure 1: The ground state energy of the O2 molecule as obtained from running the VQE circuit on IonQ Aria without error mitigation (red) and with QESEM (blue) compared to the exact result that would be obtained on an ideal, i.e., noise-free, device.

Aside from the ground state energy, this VQE circuit also allows us to learn about the electronic structure of the O2 molecule. The states of individual qubits encode the electronic occupations of the molecules orbitals. A qubit in the 0 state signifies an empty orbital whereas the 1 state corresponds to occupation by a single electron. Moreover, from the correlations between pairs of qubits, we can extract the correlations between occupations. Some examples of occupations and their correlations can be seen in Figure 2. Again, all mitigated values match the ideal values up to the statistical error bars while the noisy results are, in most cases, far off.

Figure 2. Ideal, noisy and mitigated values for example orbitals occupations and their correlations.

Similar results for the NaH VQE circuit are shown in Figure 3. While the NaH circuit is narrower, i.e., involves fewer qubits, it requires a full qubit-connectivity graph and is of a comparable depth. Since this circuit only makes use of 6 qubits, the number of all possible outcomes is not very large, allowing the depiction of the full probability distribution of measurement outcomes (see Figure 3). Excellent agreement of the mitigated results with the ideal outcome can be seen for all bitstrings, demonstrating QESEMs capability to provide an unbiased estimate for any output observable of interest.

Figure 3: Results for the NaH VQE circuit. Left: The probability distribution of all possible measurement outcomes. Right: Observables of interest, e.g., the ground state energy. QESEM results (blue) reproduce the ideal values (black) up to statistical accuracy while the unmitigated results (red) are off.

In the study of quantum materials, there are two fundamental questions of interest: energetics and dynamics. The VQE algorithm presented above addresses the question of energetics. In contrast, the Hamiltonian simulation algorithm computes the time evolution of the quantum state of the material, i.e., its dynamics. The quantum circuit approximates the continuous dynamics by small discrete time evolution steps [6].

Spin Hamiltonians are widely used as models for quantum materials where the electrons are in fixed positions but interact magnetically. For this demonstration, we chose a canonical Hamiltonian, the so-called XY model with a perpendicular magnetic field [7]. The 12 spins, encoded by 12 qubits, reside on the sites of a three-by-four triangular lattice with periodic boundary conditions (see Figure 4). Under these conditions, the Hamiltonian simulation circuit requires high connectivity between the qubits to be compiled compactly. Beyond being a highly demanding benchmark, the Hamiltonian we simulated also illustrates rich quantum physical phenomena. The XY model is a model of strongly interacting bosons, as in a Josephson junction array. On a triangular lattice, this type of system can form an exotic phase of matter called a Supersolid [8].

Figure 4: Hamiltonian simulation. Left: the simulated triangular spin lattice. Colors represent different observables of interest the magnetization of individual spins (gray), and correlations between magnetizations of different spin patterns. Right: ideal, noisy and mitigated values for the different observables

Figure 4 shows the values of various observables of physical interest after one time-step (consisting of 72 two-qubit gates) is performed to an initial state where all spins, i.e., qubits, are oriented along the X direction. From left to right, these observables are the projections onto the X direction of the magnetization of single spins, and correlations of spin magnetizations along interaction bonds, lattice plaquettes, and strings of spins that envelop the lattice in one of its directions. Examples of each appear on the top panel in matching colors. These observables indicate the strength of various magnetic properties of the model. For each observable, we present the exact expectation values in black, the noisy unmitigated values in red, and the error mitigated results using QESEM in blue. Again, QESEM results reproduce the ideal values up to statistical accuracy, while the unmitigated results are statistically well-separated from both.

While we presented only a few specific examples, QESEM can be applied to any quantum circuit for which error-free results are desired. It is meticulously designed to optimize the accuracy-to-runtime tradeoff inherent to error mitigation methods. In particular, QESEMs QPU time, at a given statistical accuracy, scales exponentially better as a function of the volume of the target circuit compared to competing unbiased error mitigation protocols. For instance, a circuit with 120 two-qubit gates, run on a trapped-ion device with 99% two-qubit gate fidelity, would take 90 minutes to execute to 90% accuracy using QESEM, which can be easily completed within a two-hour device reservation using Braket Direct. The same circuit, executed with the leading competing unbiased and algorithm-generic error mitigation technique, Probabilistic Error Cancellation [9, 10], would take over a month.

Error mitigation is essential for executing cutting-edge applications on near-term quantum devices [1]. While the problems discussed in this blog can be simulated classically, QESEM enables accurate, error-free execution of large circuits increasing the number of two-qubit gates that can be utilized by more than an order of magnitude compared to unmitigated execution at the same level of accuracy.

Figure 5 shows the circuit volumes accessible with QESEM on trapped-ion devices. With expected near-future improvements in hardware fidelities and qubit counts, QESEM could enable executing generic quantum circuits faster than a supercomputer performing a state-vector simulation of the same circuit. Achieving this milestone will spur further exploration of applications requiring simulations of quantum systems, such as the design of novel materials.

Figure 5: accessible circuit volumes with QESEM on ion traps, assuming a desired accuracy of 90%. Active volume denotes the number of two-qubit gates within the circuit that affect the observable of interest. Here it is measured in terms of IonQs MlmerSrensen (MS) entangling gates. The black line estimates the time it would take a supercomputer to perform a state-vector simulation for a square circuit with the corresponding circuit volume. A square circuit consists of a sequence of layers in which each qubit participates in an MS gate, and the number of layers equals to the number of qubits (width=depth).

To learn more about Qedma and QESEM, visit Qedmas website. To further accelerate your research with dedicated access to quantum hardware including IonQs latest Forte QPU, check out the Braket Direct documentation or navigate to the AWS Management Console.

The content and opinions in this blog are those of the third-party authors and AWS is not responsible for the content or accuracy of this blog.

[1] Quantum Error Mitigation, https://arxiv.org/abs/2210.00921 (2022) [2] A variational eigenvalue solver on a photonic quantum processor, https://www.nature.com/articles/ncomms5213 (2014) [3] Orbital-optimized pair-correlated electron simulations on trapped-ion quantum computers https://www.nature.com/articles/s41534-023-00730-8 (2023) [4] Molecular Electronic-Structure Theory; John Wiley & Sons (2014) [5] Universal quantum circuits for quantum chemistry, https://doi.org/10.22331/q-2022-06-20-742 (2022) [6] Universal Quantum Simulators, https://www.science.org/doi/10.1126/science.273.5278.1073 (1996) [7] Boson localization and the superfluid-insulator transition, https://journals.aps.org/prb/abstract/10.1103/PhysRevB.40.546 (1989) [8] Superfluids and supersolids on frustrated two-dimensional lattices, https://journals.aps.org/prb/abstract/10.1103/PhysRevB.55.3104 (1997) [9] Probabilistic error cancellation with sparse PauliLindblad models on noisy quantum processors, https://www.nature.com/articles/s41567-023-02042-2 (2023) [10] Efficiently improving the performance of noisy quantum computers, https://arxiv.org/abs/2201.10672 (2022)

Go here to read the rest:
Enabling state-of-the-art quantum algorithms with Qedma's error mitigation and IonQ, using Braket Direct | Amazon ... - AWS Blog

Rolls-Royce, Riverlane, and Xanadu secure 700000 for quantum computing development – Tech.eu

Today Rolls-Royce, Riverlane and Xanadu secured more than 400,000 grant funding from Innovate UK to accelerate the development of applications that will allow quantum computers to model the flow of air through jet engines.

An additional CAD $500,000 has been awarded from the National Research Council of Canada Industrial Research Assistance Program (NRC IRAP) as part of a growing relationship between the UK and Canada on quantum computing technology and expertise.

The project, called CATALYST, will deliver a hybrid quantum-classical framework combination, where computers of the type we use now are programmed to instruct quantum computers.

It draws on the unique expertise of each partner: industrial applications (Rolls-Royce); UK-based quantum error correction company, Riverlane, and Canadian quantum computing company, Xanadu.

This will give Rolls-Royce the means to rapidly evaluate and implement new quantum algorithms, accelerating the time to do this from several hours to just a few minutes. This will bring huge efficiencies to future product design processes and also contributes to the first of the UK Governments recently announced National Quantum Strategy Missions.

Leigh Lapworth, Rolls-Royce Fellow in Computational Science, said:

"This is the first quantum computing R&D collaboration to be led by a large industry partner, instead of smaller startups.

Our shared vision and approach will make us one of the first companies to benefit from fault-tolerant computers.

The techniques we develop in this project will be those that enable us to benefit from the UKs quantum pathway of a million error-corrected quantum operations in 2028; a billion in 2032; and a trillion in 2035."

Steve Brierley, CEO and founder from Riverlane, said:

"The CATALYST project brings together leading quantum computing companies and industry experts from the UK and Canada to help improve the quality of the quantum algorithms.

By developing better quantum algorithms, we can reduce the number of quantum operations required to unlock world-changing applications, sooner.

Such work across the quantum computing stack is vital to help us unlock millions and then trillions of reliable quantum operations."

Josh Izaac, Director of Product at Xanadu, said:

"As quantum hardware continues to grow in both scale and capabilities, we need to re-think the quantum software technical stack to enable the design and execution of larger and more complex quantum algorithms."

This will unlock the ability to explore bigger, more complex, and more dynamic quantum algorithms with PennyLane and our world-class simulators."

Lead image: The Digital Artist.

Continued here:
Rolls-Royce, Riverlane, and Xanadu secure 700000 for quantum computing development - Tech.eu

A ‘simple’ hard fork could subvert a quantum attack on Ethereum: Vitalik Buterin – Cointelegraph

Ethereum is already well-positioned to mitigate the impact of a massive quantum computing attack on the network, according to Ethereum co-founder Vitalik Buterin.

In a March 9 post to Ethereum Research, Buterin discussed what would happen if a quantum emergency happened as early as tomorrow.

Suppose that it is announced tomorrow that quantum computers are available, and bad actors already have access to them and are able to use them to steal users funds, Buterin postulated.

The blockchain would have to hard fork and users would have to download new wallet software, but few users would lose their funds, he added.

Buterin explained that the process of such a hard fork would involve rolling back the Ethereum network to the point where it is clear that large-scale theft was occurring and disabling all traditional transactions from that point.

Ethereum developers would then add a new transaction type which forms part of the Ethereum Improvement Proposal (EIP) 7560 to allow transactions from smart contract wallets.

When a user makes a transaction from their Ethereum wallet, the signature of that transaction reveals the public key, and in a post-quantum world, this would see the users private key revealed as well.

The new transaction type that forms the core part of the quantum-resist EIP would leverage Winternitz signatures and zero-knowledge proof technologies known as STARKs to ensure that existing wallets are switched to new validation code, he added.

This validation code leverages ERC-4337 account abstraction the underlying technology of smart contract wallets to prevent private keys from being displayed while signing transactions in the future, rendering these accounts immune from a quantum attack.

Related:Ethereum leans into rollup-centric future as Dencun hard fork looms

According to Buterin, users who have never approved a transaction from an Ethereum wallet are already safe from any potential quantum-related exploit, as only the wallet address has ever been made publicly available.

He also added that the infrastructure needed to implement such as hard fork could in principle start to be built tomorrow.

The advent of quantum computing has been a long-feared inflection point for the crypto industry, as a computer capable of breaking blockchain encryption could see once-untouchable user funds stolen in large volumes and at rapid rates.

However, most computer scientists and developers believe that quantum computing is still a ways off, with Google and IBM engineers estimating that quantum computing wont be sufficiently developed until 2029 at the earliest.

Magazine: Google to fix diversity-borked Gemini AI, ChatGPT goes insane:AI Eye

Read the rest here:
A 'simple' hard fork could subvert a quantum attack on Ethereum: Vitalik Buterin - Cointelegraph

Ethereum: Vitalik is preparing for the war against quantum computers! – Cointribune EN

Mon 11 Mar 2024 4 min of reading by Eddy S.

Developers of Ethereum, the $200 billion crypto ecosystem, have sounded the call to arms. Their mission? To protect the millions of digital assets held on the network from the clutches of a new kind of enemy quantum computers. The first round of this unprecedented battle for survival is fast approaching.

A threat full of power and mystery looms on the horizon. These quantum computing monsters, still in development, could one day crack the crypto codes that secure Ethereum wallets.

In the blink of a digital eye, billions of dollars in ETH and other assets could be stolen. A digital apocalypse hovers, threatening to obliterate Ethereum as we know it. Time is of the essence to counter this technological plague before it becomes a reality.

Developers have no choice but to act, and to do so quickly. To undertake a massive preemptive counter-attack. A decisive action to save the flagship of the crypto ecosystem before its engulfed by the raging waters of the next quantum revolution.

It was Vitalik Buterin, the visionary behind Ethereum, who lit the fuse. An emergency plan will be put in place to secure the network a hard fork of a magnitude equal to the threat it faces.

The first crucial step: to completely disable transactions from the classic wallets. Too vulnerable to quantum attacks. Instead, new smart wallets will take over. Built upon the very structure of the Ethereum blockchain, they will benefit from crypto armor resistant to the capabilities of these future quantum monsters.

But the cornerstone of this renaissance operation lies in the integration of STARK proofs (Scalable Transparent Arguments of Knowledge). A mechanism that will enable users to reliably verify their ownership of assets without having to expose their private keys, even to the verification system itself. A cutting-edge cryptographic breakthrough.

A transitional mechanism will also be deployed to allow holders to safely migrate their funds to this new fortified system. A renaissance that will not come without pain for users, forced to undergo a lengthy software update process. But it is a necessary sacrifice on the altar of resilience against the existential threat posed by quantum computers.

Today, Ethereum once again defies the doubts of skeptics to lead the way to a new post-quantum world. Where digital ownership will withstand the onslaught of mass destruction weapons that will be quantum computers. A new era that remains science fiction for now, but towards which the leading network of the blockchain is advancing, prepared for battle. Ready to secure a decisive victory for free crypto!

Maximize your Cointribune experience with our 'Read to Earn' program! Earn points for each article you read and gain access to exclusive rewards. Sign up now and start accruing benefits.

Le monde volue et l'adaptation est la meilleure arme pour survivre dans cet univers ondoyant. Community manager crypto la base, je m'intresse tout ce qui touche de prs ou de loin la blockchain et ses drivs. Dans l'optique de partager mon exprience et de faire connatre un domaine qui me passionne, rien de mieux que de rdiger des articles informatifs et dcontracts la fois.

DISCLAIMER

The views, thoughts, and opinions expressed in this article belong solely to the author, and should not be taken as investment advice. Do your own research before taking any investment decisions.

See more here:
Ethereum: Vitalik is preparing for the war against quantum computers! - Cointribune EN

Protecting quantum computers from adversarial attacks – Innovation News Network

The solution, Quantum Noise Injection for Adversarial Defence (QNAD), counteracts the impact of adversarial attacks designed to disrupt the interference of quantum computers. This is AIs ability to make decisions or solve tasks.

Adversarial attacks designed to disrupt AI inference have the potential for serious consequences, said Dr Kanad Basu, assistant professor of electrical and computer engineering at the Erik Jonsson School of Engineering and Computer Science.

The work will be presented at the IEEE International Symposium on Hardware Oriented Security and Trust on 6-9 May in Washington, DC.

Quantum computers can solve several complex problems exponentially faster than classical computers. The emerging technology uses quantum mechanics and is expected to improve AI applications and solve complex computational problems.

Qubits represent the fundamental unit of information in quantum computers, like bits in traditional computers.

In classical computers, bits represent 1 or 0. However, qubits take advantage of the principle of superposition and can, therefore, be in a state of 0 and 1. By representing two states, quantum computers have greater speed compared to traditional computers.

For example, quantum computers have the potential to break highly secure encryption systems due to their computer power.

Despite their advantages, quantum computers are vulnerable to adversarial attacks.

Due to factors such as temperature fluctuations, magnetic fields, and imperfections in hardware components, quantum computers are susceptible to noise or interference.

Quantum computers are also prone to unintended interactions between qubits.

These challenges can cause computing errors.

The researchers leveraged intrinsic quantum noise and crosstalk to counteract adversarial attacks.

The method introduced crosstalk into the quantum neural network. This is a form of Machine Learning where datasets train computers to perform tasks. This includes detecting objects like stop signs or other computer vision responsibilities.

The noisy behaviour of quantum computers actually reduces the impact of attacks, said Basu, who is senior author of the study. We believe this is a first-of-its-kind approach that can supplement other defences against adversarial attacks.

The researchers revealed that during an adversarial attack, the AI application was 268% more accurate with QNAD than without it.

The approach is designed to supplement other techniques to protect quantum computer security.

In case of a crash, if we do not wear the seat belt, the impact of the accident is much greater, Shamik Kundu, a computer engineering doctoral student and a first co-author, said.

On the other hand, if we wear the seat belt, even if there is an accident, the impact of the crash is lessened. The QNAD framework operates akin to a seat belt, diminishing the impact of adversarial attacks, which symbolise the accident, for a QNN model.

The research was funded by the National Science Foundation.

Original post:
Protecting quantum computers from adversarial attacks - Innovation News Network