← Latest papers
⚛️ quantum physics

MerLin: A Discovery Engine for Photonic and Hybrid Quantum Machine Learning

MerLin is an open-source discovery engine that integrates optimized photonic and hybrid quantum machine learning simulations into standard PyTorch and scikit-learn workflows to enable systematic benchmarking, reproducibility, and hardware-aware exploration across diverse quantum models and datasets.

Original authors: Cassandre Notton, Benjamin Stott, Philippe Schoeb, Anthony Walsh, Grégoire Leboucher, Vincent Espitalier, Vassilis Apostolou, Louis-Félix Vigneux, Alexia Salavrakos, Jean Senellart

Published 2026-04-21
📖 4 min read🧠 Deep dive

Original authors: Cassandre Notton, Benjamin Stott, Philippe Schoeb, Anthony Walsh, Grégoire Leboucher, Vincent Espitalier, Vassilis Apostolou, Louis-Félix Vigneux, Alexia Salavrakos, Jean Senellart

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a chef trying to invent a new dish using a brand-new, exotic ingredient: light.

For years, scientists have been trying to use light (photons) to build computers that can solve problems faster than the supercomputers we use today. This field is called Photonic Quantum Machine Learning. The idea is that light is fast, doesn't get hot, and can do many things at once.

However, there's a big problem: The kitchen is a mess.

The Problem: Too Many Different Kitchens

Right now, every scientist trying to cook with "light-computers" has their own unique set of tools, recipes, and measuring cups.

  • One team uses a tool called Perceval.
  • Another uses Qiskit.
  • Another uses PennyLane.

If you want to try a recipe from Team A, you can't just cook it in Team B's kitchen. You have to translate the whole recipe, measure everything in different units, and hope it still tastes right. This makes it impossible to know who is actually cooking the best dish or if a new ingredient is truly better than the old ones. It's like trying to compare a French chef's soup to a Japanese chef's soup when they are using different scales, different ovens, and different languages.

The Solution: Enter "MerLin"

The authors of this paper built MerLin. Think of MerLin as a universal translator and a master kitchen that brings everyone together.

  1. The Universal Translator: MerLin speaks the language of the most popular cooking tools (PyTorch and scikit-learn) that data scientists already use. It takes the complex, exotic "light recipes" and translates them so anyone can use them without needing a PhD in quantum physics.
  2. The Master Kitchen: MerLin doesn't just simulate light; it simulates it perfectly and fast. It acts like a "strong simulator," meaning it can calculate exactly what happens when light particles bounce around, without needing a real, expensive quantum computer to test it first.
  3. The "Discovery Engine": The authors didn't just build the kitchen; they cooked 18 different famous recipes from other scientists to prove it works. They took 18 different "light dishes" (algorithms) that were previously cooked in isolated, messy kitchens and re-cooked them in MerLin.
    • The Result: They found that MerLin is often faster (sometimes 15 times faster!) and more accurate than the old methods. It confirmed that many of these "light dishes" actually work, but also showed that some claimed advantages were just due to how the ingredients were prepared, not the light itself.

How It Works (The Simple Analogy)

Imagine you want to teach a computer to recognize a picture of a cat.

  • Old Way: You have to build a custom, hand-crafted machine out of mirrors and lenses for every single picture. It's slow and hard to tweak.
  • MerLin Way: MerLin gives you a programmable light-bench. You can plug in your picture, and the light flows through a circuit of mirrors and lenses that you can adjust with a computer mouse.
    • The "Bridge": MerLin also has a special bridge. It can take a recipe designed for a "qubit" computer (the standard quantum computer) and translate it instantly into a "photon" recipe (the light computer). This means you don't have to start from scratch; you can just move your existing ideas to the light kitchen.

Why Does This Matter?

The paper argues that to find out if "light computers" are actually useful, we need to stop guessing and start benchmarking.

  • Before MerLin: Scientists would say, "My light algorithm is great!" but no one could check because the code was hidden or incompatible.
  • With MerLin: Everyone can run the same tests on the same data. It's like having a standardized taste test where every chef uses the same oven and the same ingredients.

The Future: Co-Design

MerLin is also a "co-design tool." This means it helps engineers design better hardware while scientists write better software.

  • If the simulation shows that a certain type of mirror is too slow, hardware engineers know to build a faster one.
  • If the simulation shows that a specific recipe works best, software developers know to focus on that.

In a Nutshell

MerLin is the "Google Translate" and "MasterChef" for the world of light-based quantum computing. It unifies a fragmented field, allows scientists to test their ideas fairly and quickly, and helps us figure out if using light to power our AI is a futuristic dream or a practical reality we can build today.

It's not just about making computers faster; it's about making sure we are all speaking the same language so we can actually figure out what works.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →