SimQFL: A Quantum Federated Learning Simulator with Real-Time Visualization
Ratun Rahman, Atit Pokharel, Md Raihan Uddin, Dinh C. Nguyen
TL;DR
This paper tackles the lack of practical tooling for quantum federated learning by introducing SimQFL, a lightweight simulator with real-time visualization and user-data support. It integrates amplitude-encoded data, variational quantum circuits, and federated aggregation to enable end-to-end QFL experiments without real quantum devices. Empirical results on MNIST, FashionMNIST, and CIFAR-100 show that QFL can exceed classical FL in accuracy and convergence speed, and the work maps out how qubit count, circuit depth, and client participation shape learning dynamics. The standalone executable and interactive UI make SimQFL a reusable platform for prototyping, benchmarking, and teaching QFL concepts in realistic distributed settings.
Abstract
Quantum federated learning (QFL) is an emerging field that has the potential to revolutionize computation by taking advantage of quantum physics concepts in a distributed machine learning (ML) environment. However, the majority of available quantum simulators are primarily built for general quantum circuit simulation and do not include integrated support for machine learning tasks such as training, evaluation, and iterative optimization. Furthermore, designing and assessing quantum learning algorithms is still a difficult and resource-intensive task. Real-time updates are essential for observing model convergence, debugging quantum circuits, and making conscious choices during training with the use of limited resources. Furthermore, most current simulators fail to support the integration of user-specific data for training purposes, undermining the main purpose of using a simulator. In this study, we introduce SimQFL, a customized simulator that simplifies and accelerates QFL experiments in quantum network applications. SimQFL supports real-time, epoch-wise output development and visualization, allowing researchers to monitor the process of learning across each training round. Furthermore, SimQFL offers an intuitive and visually appealing interface that facilitates ease of use and seamless execution. Users can customize key variables such as the number of epochs, learning rates, number of clients, and quantum hyperparameters such as qubits and quantum layers, making the simulator suitable for various QFL applications. The system gives immediate feedback following each epoch by showing intermediate outcomes and dynamically illustrating learning curves. SimQFL is a practical and interactive platform enabling academics and developers to prototype, analyze, and tune quantum neural networks with greater transparency and control in distributed quantum networks.
