Learning sparse control patterns lowers cost of quantum state preparation

Reducing the Cost of Qudit State Preparation by Learning a Sparse Structure for SNAP Gates

Machine Learning

Summary

Preparing complex quantum states in bosonic qudits usually requires many control settings, which can be expensive and error-prone. The authors show a method that learns which control phases are actually needed rather than using fixed patterns, reducing the effort and potential errors. They use a technique that encourages simpler control patterns by gradually selecting which phases to keep. Their results demonstrate that this learning approach can match or improve performance compared to both fully flexible and predefined sparse controls, although the benefit varies with the target state and system size.

What this means in practice

  • For quantum hardware engineers: Optimize control pulses for quantum state preparation to reduce errors and complexity in near-term bosonic qudit devices.
  • For quantum algorithm developers: Design more efficient gate sequences by selecting relevant control phases automatically to improve fidelity-resource trade-offs.

Authors

Marco Pennazio, Leonardo Ignazio Pagliochini, Riccardo Pellini, Maurizio Ferrari Dacrema, Paolo Cremonesi

Abstract

Preparing quantum states in bosonic qudits with SNAP--Displacement sequences requires both optimizing the gate parameters and deciding which Fock levels should be controlled by each SNAP gate. A fully parameterized ansatz assigns an independent phase to every Fock level in every gate, leading to a number of phases that grows steeply. This constitutes a problem for short to medium term systems as controlling many phases requires complex control pulses which are subject to increased control errors. Previous work reduced this cost by restricting the trainable phases to predefined sparse patterns, such as a diagonal or a grid, which however may not be optimal for a specific target state. In this work, we address this limitation by introducing a method that learns which phases are needed together with their values, using a differentiable mask. A sparsity penalty encourages the removal of unnecessary phases, while temperature annealing gradually turns the masks into binary decisions. We compare the proposed method with fully parameterized and predefined sparse ansatzes on Fourier and Haar-random target states. The evaluation considers both the minimum number of phases required to reach different infidelity thresholds and the overall trade-off between fidelity and phases required, measured through Pareto frontiers and hypervolume. The results show that learning the location of the phases together with their values provides competitive or improved fidelity--resource trade-offs, although the advantage depends on the target state and qudit dimension.