Optimizing quantum circuits with evolutionary algorithms for stable Boolean gates, elementary cellular automata, and highly entangled quantum states
Shailendra Bhandari, Stefano Nichele, Sergiy Denysov, Pedro G. Lind
TL;DR
The study demonstrates how evolutionary algorithms can actively design quantum circuits for two aims: recreating quantum cellular automata rules and engineering highly entangled multi-qubit states. It employs KL-divergence as a fitness for CA-rule replication and Mayer–Wallach entanglement (with von Neumann entropy as a supplementary metric) to drive entangling-circuit design, evaluating circuits on 3–5 qubits with 3–15 gates. The results show that carefully tuned mutation rates (around 10–20%) yield circuits that accurately reproduce CA dynamics and produce near-maximally entangled states (MW scores approaching 1) for small qubit counts, albeit with a noticeable trade-off between circuit depth and entanglement in deeper circuits. The work highlights scalability challenges and suggests pathways, including hybrid optimization and hardware-in-the-loop approaches, to extend these methods to larger quantum systems and practical applications, with the QUEVO framework made available for reproducibility.
Abstract
We investigate the potential of bio-inspired evolutionary algorithms for designing quantum circuits with specific goals, focusing on two particular tasks. The first one is motivated by the ideas of Artificial Life that are used to reproduce stochastic cellular automata with given rules. We test the robustness of quantum implementations of the cellular automata for different numbers of quantum gates The second task deals with the sampling of quantum circuits that generate highly entangled quantum states, which constitute an important resource for quantum computing. In particular, an evolutionary algorithm is employed to optimize circuits with respect to a fitness function defined with the Mayer-Wallach entanglement measure. We demonstrate that, by balancing the mutation rate between exploration and exploitation, we can find entangling quantum circuits for up to five qubits. We also discuss the trade-off between the number of gates in quantum circuits and the computational costs of finding the gate arrangements leading to a strongly entangled state. Our findings provide additional insight into the trade-off between the complexity of a circuit and its performance, which is an important factor in the design of quantum circuits.
