๐ค AI Summary
This work addresses the challenges of high training costs and susceptibility to hardware noise that hinder the efficient deployment of quantum machine learning on real devices. To overcome these issues, the authors propose a two-stage training approach: first, a soft unitary matrix is efficiently trained using a single unitarity regularizer; second, a circuit alignment algorithm precisely maps this matrix into an executable quantum gate sequence. This method establishes, for the first time, a seamless connection between soft unitary optimization and physically implementable quantum circuits. Experimental results demonstrate significant improvementsโon a five-qubit classification task, training time is reduced from over two hours to under four minutes while achieving lower loss; in the CartPole reinforcement learning benchmark, the approach also outperforms classical baselines of comparable scale.
๐ Abstract
Quantum operations on pure states can be fully represented by unitary matrices. Variational quantum circuits, also known as quantum neural networks, embed data and trainable parameters into gate-based operations and optimize the parameters via gradient descent. The high cost of training and low fidelity of current quantum devices, however, restricts much of quantum machine learning to classical simulation. For few-qubit problems with large datasets, training the matrix elements directly, as is done with weight matrices in classical neural networks, can be faster than decomposing data and parameters into gates. We propose a method that trains matrices directly while maintaining unitarity through a single regularization term added to the loss function. A second training step, circuit alignment, then recovers a gate-based architecture from the resulting soft-unitary. On a five-qubit supervised classification task with 1000 datapoints, this two-step process produces a trained variational circuit in under four minutes, compared to over two hours for direct circuit training, while achieving lower binary cross-entropy loss. In a second experiment, soft-unitaries are embedded in a hybrid quantum-classical network for a reinforcement learning cartpole task, where the hybrid agent outperforms a purely classical baseline of comparable size.