BLOG / ARTICLE

Feedforward Operations: A Critical Milestone for Photonic Quantum Computing

Feedforward operations in Perceval

While we have just introduced feedforward capabilities in Perceval 0.12, our open-source framework for photonic quantum computing, this new feature represents a significant milestone in our development roadmap, enabling users to simulate and experiment with adaptive quantum circuits while we work on implementing these capabilities in hardware. As the quantum computing community moves toward more sophisticated quantum protocols and fault-tolerant architectures, the ability to perform operations conditioned on measurement results becomes increasingly crucial. While implementing feedforward operations in photonic hardware presents unique challenges, having this capability in simulation allows developers to:

  • Design and validate adaptive quantum protocols;
  • Prototype error correction schemes;
  • Prepare for future hardware capabilities;
  • Explore the enhanced computational power enabled by feedforward control.

In this blog post, we’ll explain what feedforward operations are, why it matters for quantum computing, and how this new feature in Perceval helps bridge the gap between current capabilities and future photonic quantum computers.

What is a feedforward Operation?

In quantum computing, feedforward operations refer to the ability to use classical measurement results to determine subsequent quantum operations in real-time. So feedforward influences future operations in the quantum circuit.

Consider a simple example: in a quantum circuit, we measure a qubit and based on whether we get a |0⟩ or |1⟩ result, we apply different operations to other qubits later in the circuit. This real-time decision making based on measurement outcomes is a feedforward control. Feedforward is also at the basis of the quantum teleportation protocol.

Comparison with Other Platforms

This capability is related to what other quantum computing platforms call “mid-circuit measurements” or “dynamic circuits”. For instance, superconducting quantum computers can measure qubits mid-circuit and use results to condition later gates.

The Photonic Challenge

Implementing feedforward in photonic systems presents unique challenges. Time management is critical across all quantum computing platforms, but manifests differently:

  1. Time Management Across Platforms:In superconducting systems, qubits remain stationary but face decoherence over time.In photonic systems, qubits are constantly in motion at the speed of light, requiring precise spatial and temporal control.Both platforms face a race against time, but for different reasons: decoherence vs. photon loss and synchronization
  2. Synchronization Requirements:We need to keep multiple photons alive and synchronized while:
    • Detecting some photons
    • Processing measurement results
    • Reconfiguring optical elements This typically requires long optical delay lines or quantum memories
  3. Hardware Constraints:The implementation of feedforward operations in photonic systems requires several critical hardware components, each pushing the boundaries of current technology:
    • Fast optical switching (nanosecond scale)
    • Low-loss delay lines
    • Precise timing control across all components
    • Minimal latency in classical processing and control

Why Feedforward Matters

Feedforward operation is fundamental to several key quantum computing capabilities:

  1. Measurement-Based Quantum Computing: protocols where computation is performed on a resource state via single-qubit operation and – crucially – feedforward from the previous outcome results. This is the native route to quantum universality for photonic systems.
  2. Error Correction: In some quantum error correction scheme – notably in photonics – adaptive protocols are crucial for minimizing resource requirements.

As we can see, feedforward is crucial for implementing universal and error corrected quantum operations, especially in photonics. For instance, in our Spin-Optical Quantum Computing (SPOQC) architecture, introduced in “A Spin-Optical Quantum Computing Architecture” and refined here, feedforward operation plays a crucial role in:

  1. Adaptive Error Correction: applying appropriate operations based on measurement outcomes;
  2. Repeat-Until-Success operation: stopping the gate operation as soon as it has succeeded.

Even in the NISQ era, feedforward significantly expands the capabilities of photonic quantum computers. Recent works in photonic quantum computing show that feedforward enables computational capabilities beyond what static linear optics can achieve alone, as demonstrated in “Quantum machine learning with adaptive linear optics” and in “Towards quantum advantage with photonic state injection“.

Hardware Implementation

The implementation of feedforward in Perceval represents a key milestone in our roadmap toward SPOQC. Our hardware development plan includes:

  1. Integration of fast optical switches with low latency
  2. Development of real-time classical processing systems
  3. Implementation of the complete feedback loop from measurement to control

This follows our published roadmap to SPOQC, with feedforward capability being a crucial stepping stone toward full fault-tolerant operation.

Getting Started

Perceval now provides comprehensive support for experimenting with feedforward operations. Here’s a practical example implementing quantum teleportation:

import perceval as pcvl

# Create a processor with feedforward capability
p = pcvl.Processor("SLOS", 6)

# Configure X-gate feedforward
ff_X = pcvl.FFCircuitProvider(2, 0, pcvl.Circuit(2))
ff_X.add_configuration([0, 1], pcvl.PERM([1, 0]))

# Configure Z-gate feedforward
phi = pcvl.P("phi")
ff_Z = pcvl.FFConfigurator(2, 3, pcvl.PS(phi), {"phi": 0})
ff_Z.add_configuration([0, 1], {"phi": np.pi})

The complete example is available in our documentation.

Looking Forward

With feedforward support now available in Perceval, we open new possibilities for:

  1. Application Development: Creating and testing adaptive quantum algorithms
  2. Protocol Implementation: Experimenting with sophisticated quantum protocols
  3. Architecture Research: Developing and validating components of fault-tolerant architectures

We invite the quantum computing community to explore these new capabilities and develop novel applications leveraging feedforward operations. This feature provides the foundation for implementing more sophisticated quantum protocols and advancing toward fault-tolerant quantum computation.

Technical Resources

Dernières nouvelles du blog

Les ordinateurs quantiques peuvent-ils aider à prédire la rupture des matériaux ? Nous introduisons un algorithme quantique pour la mécanique de la fracture qui encode efficacement les systèmes élastiques et extrait des informations locales sur les fissures avec peu de mesures [1]. En combinant des méthodes variationnelles avec des initialisations inspirées du remaillage, nous montrons comment dépasser les limites habituelles de l’optimisation.

Introduction

Imaginez une fissure qui se forme dans un barrage. Au départ, elle est à peine visible. Un défaut microscopique dans le matériau. Mais sous contrainte, elle commence à grandir. Lentement d’abord, puis plus vite, en se ramifiant, en se propageant… jusqu’à ce que le barrage cède. Ou pas.

C’est exactement ce que les ingénieurs doivent prédire : la fissure va-t-elle se propager ?

Dans ce travail, nous montrons comment un algorithme quantique peut s’attaquer à ce problème.

Approche

Nous considérons les équations de la mécanique linéaire de la fracture élastique :

$$
\mathrm{grad}(\mathrm{div}\,\mathbf{u}) + (1 – 2\nu)\,\Delta \mathbf{u} = 0
$$

et reformulons le problème à l’aide de sa formulation énergétique : la solution physique est le champ de déplacement qui minimise l’énergie élastique.

Cela conduit naturellement à un algorithme quantique variationnel :

  • à  un état quantique paramétré encode le champ de déplacement,
  • à  les mesures estiment l’énergie élastique,
  • à  et un optimiseur classique met à jour les paramètres.

Résultats

Un défi clé est l’encodage efficace. Le champ de déplacement est défini sur un maillage très vaste, et des approches naïves nécessiteraient trop de qubits.

Nous répondons à ce défi en construisant un encodage où l’ensemble du système est stocké dans les amplitudes quantiques ; le nombre de qubits ne croît donc que de façon polylogarithmique avec la taille du système. Cela nous permet de représenter de grands systèmes élastiques de manière compacte sur un processeur quantique. Enfin, au lieu de reconstruire la solution complète, nous mesurons directement des grandeurs physiques locales pertinentes pour la fracture, telles que des indicateurs de propagation de fissures, qui peuvent être extraites avec un petit nombre de mesures.

La formulation variationnelle retrouve avec succès la solution physique par minimisation de l’énergie.

Cependant, l’un des défis centraux des algorithmes variationnels est la présence de plateaux stériles, où l’optimisation devient inefficace [2].

Pour y remédier, nous introduisons une stratégie de remaillage quantique inspirée des méthodes classiques :

  • résoudre le problème sur un maillage grossier,
  • raffiner le maillage,
  • et initialiser à chaud la nouvelle optimisation à partir de la solution précédente.

En répétant ce processus en cascade, chaque optimisation démarre près de la solution, ce qui améliore fortement la convergence et évite les pièges habituels des plateaux stériles.

Pourquoi c’est important

La mécanique de la fracture est un cas d’essai exigeant : elle met en jeu de grands systèmes, des géométries évolutives et des effets très localisés. Nos résultats montrent que les algorithmes quantiques peuvent : encoder efficacement de grands systèmes physiques, n’accéder qu’aux informations utiles et éviter des difficultés courantes de l’optimisation.

Cette idée dépasse la mécanique de la fracture et s’étend à de nombreux domaines du calcul scientifique, où les problèmes sont multi-échelles, adaptatifs et intrinsèquement dynamiques.

Dans ces contextes, de bons algorithmes quantiques sont peut-être ceux qui, contrairement à la physique qu’ils simulent, ne repartent pas de zéro.

Références

[1] Remond, U., Emeriau, P. E., Lysaght, L., Ruel, J., Mikael, J., & Kazymyrenko, K. (2025). Quantum remeshing and efficient encoding for fracture mechanics. arXiv preprint arXiv:2510.14746.

[2] Larocca, M., Thanasilp, S., Wang, S., Sharma, K., Biamonte, J., Coles, P. J., … & Cerezo, M. (2025). Barren plateaus in variational quantum computing. Nature Reviews Physics7(4), 174-189.