Evaluating Mutation Techniques in Genetic Algorithm-Based Quantum Circuit Synthesis

Michael Kölle, Tom Bintener, Maximilian Zorn, Gerhard Stenzel, Leo Sünkel, Thomas Gabor, Claudia Linnhoff-Popien

Abstract

In the current Noisy Intermediate-Scale Quantum (NISQ) era, the synthesis of efficient, low-depth quantum circuits is critical for overcoming hardware limitations such as low qubit counts and high error rates. This paper investigates the efficacy of various mutation strategies within a Genetic Algorithm (GA) framework designed for quantum circuit synthesis. By benchmarking different evolutionary operators on the Clifford + T gate set, researchers from LMU Munich identified that structural mutations—specifically "swap" and "delete"—significantly outperform traditional gate replacement strategies. Our findings provide a roadmap for optimizing heuristic search methods to produce high-fidelity circuits suitable for near-term quantum hardware.

Introduction

Designing quantum circuits is a complex optimization problem. To execute algorithms on physical hardware, high-level operations must be synthesized into a specific sequence of elementary gates. Because NISQ devices are highly sensitive to noise, these sequences must be as short (shallow) as possible. Manual design is unscalable, leading researchers to explore automated methods like Genetic Algorithms (GAs). While GAs are adept at navigating complex search spaces through selection, crossover, and mutation, the specific impact of different mutation types on quantum gate sequences has remained largely unquantified. This study systematically evaluates these techniques to determine which "evolutionary tweaks" lead to the most effective quantum state preparation.

Methodology

The researchers developed a modular GA framework tailored for the Clifford + T gate set, a standard universal set in quantum computing. The framework incorporates several sophisticated architectural choices:

  • Multi-Objective Fitness Function: Candidates are evaluated based on a weighted formula that prioritizes Fidelity (accuracy of the target state), Circuit Depth (to minimize noise), and T-gate count (to reduce computational cost in fault-tolerant regimes).
  • Mutation Operators: Four primary strategies were tested individually and in combination:
  • Change: Replacing an existing gate with a different one.
  • Delete: Removing a gate to simplify the structure.
  • Add: Inserting a new gate at a random position.
  • Swap: Exchanging the positions of two existing gates.
  • Island Model: To avoid local optima, the population is divided into isolated subpopulations (islands) that evolve independently and occasionally exchange high-performing individuals (migration).
  • Optimization: The framework utilized Optuna for automated hyperparameter tuning, ensuring that mutation rates and population settings were optimized for the specific task.

Experimental Setup

The study utilized two primary data sources for benchmarking:

  1. Randomly Generated Circuits: Created via the PennyLane library, these circuits ranged from 5 to 8 qubits with depths between 5 and 15 operations.
  2. Target State Dataset: A rigorous evaluation set consisting of 150 distinct, optimized 6-qubit circuits served as the benchmarks for the GA to replicate.

Key Insights and Discussion

The Failure of the "Change" Mutation

One of the most surprising findings was that the "change" mutation—a staple in many GA applications—often proved detrimental. Replacing a single gate frequently disrupted the delicate logical dependencies of the quantum circuit without providing the structural benefits seen in other methods. This suggests that quantum circuits are highly sensitive to local perturbations that do not account for the overall gate sequence.

The Efficacy of Structural Reordering

The "swap" mutation emerged as a top performer. By reordering gates rather than adding or removing them, the GA could discover ways to cancel out redundant operations or create more efficient sequences without increasing the circuit's total complexity. This allows for a more effective exploration of the circuit's topology.

Static vs. Adaptive Rates

While adaptive mutation rates (which fluctuate based on population performance) are often preferred in evolutionary computing, this study found that well-tuned static rates generally performed better. Adaptive strategies occasionally reduced variance too early in the process, preventing the GA from discovering superior solutions in the later stages of evolution.

Results

The benchmarking results for 6-qubit systems highlighted clear winners among the mutation combinations:

  • Mean Fitness: The swap + add combination achieved the highest mean fitness of 0.3598.
  • Median Fitness: The swap + add + delete combination reached the highest median fitness of 0.2962.
  • Recommended Strategy: The authors recommend the swap + delete strategy as the most robust approach for practical synthesis. It effectively balances high fidelity with aggressive depth reduction, which is the primary requirement for NISQ-era hardware.

Conclusion and Future Work

This research demonstrates that the choice of mutation operator is a decisive factor in the success of GA-based quantum circuit synthesis. Structural mutations like "swap" and "delete" are essential for navigating the constraints of quantum logic.

Due to the high computational cost of simulating quantum circuits on classical hardware, this study was limited to 8 qubits. Future work will focus on scaling the framework to 10+ qubits and comparing the GA approach against other automated techniques, such as Reinforcement Learning (RL), to further refine the efficiency of quantum circuit design.

Summary updated

BibTeX
@inproceedings{kolle2025evaluating,
  author = {Michael Kölle and Tom Bintener and Maximilian Zorn and Gerhard Stenzel and Leo Sünkel and Thomas Gabor and Claudia Linnhoff-Popien},
  title = {{Evaluating Mutation Techniques in Genetic Algorithm-Based Quantum Circuit Synthesis}},
  booktitle = {GECCO},
  year = {2025},
}
Figure