Manuscript Offprint

arXiv:2610.19077

Federated Unlearning of Quantum Data via Classical Shadows

Zihao Ding, Jun Huang, Cong-cong Xing

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Zihao Ding 1^{1}, Jun Huang 1^{1}, and Cong-cong Xing 2^{2}

1^{1}Department of Electrical Engineering and Computer Science, South Dakota State University, Brookings, SD 57007, USA

2^{2}Department of Mathematics and Computer Science, Nicholls State University, Thibodaux, LA 70310, USA

Email: zihao.ding@jacks.sdstate.edu, jun.huang@sdstate.edu, cong-cong.xing@nicholls.edu

Abstract—Quantum federated learning trains a quantum neural network (QNN) across nodes that hold quantum data, such as the states of quantum sensors. To forget data, unlearning methods for quantum models replay them, and federated unlearning from stored updates removes whole nodes only. Quantum data cannot be replayed, since a state is consumed when measured and cannot be cloned. We propose Shadow-based Data Erasure (SHADE), in which each node records a classical shadow of every training state, a few randomized single-qubit measurements taken at training time. The gradient and curvature of a QNN on a state are expectations of observables, so SHADE estimates them for the forget data from the shadows at any later parameters and removes their effect by a federated Newton correction. Only classical estimates cross the network. We prove that the shadow size needed for a target unlearning error grows exponentially in the size of the backward light cone of the measured observable and not in the number of qubits. In simulation with 50 nodes and on edge boards, SHADE matches the forget accuracy of retraining within 0.5 points, without replay and in under 0.2 s.

Index Terms—Quantum federated learning, machine unlearning, classical shadows, quantum neural networks, quantum sensor networks.

I. INTRODUCTION

Quantum sensors and small quantum processors produce data that are quantum states, such as the probe states of a sensor network or the output states of a quantum simulator [1]. In a quantum sensor network, for instance, each node holds the probe states of its own field and classifies the field from them [2]. Sending these states to one site needs quantum links, which are short and lossy [3]. Quantum federated learning (QFL) therefore trains a quantum neural network (QNN) [4], a parameterized circuit shared by all nodes, where the states are produced, and it exchanges only classical gradients [5], [6]. Networked systems [7]–[16] keep learning after deployment [17]–[23], and they must also be able to forget [24]–[30]. A node may withdraw its data, or a sensor may turn out to have drifted for a period, and its states must then stop shaping the shared circuit.

Unlearning methods for quantum models evaluate the model on the forget data again. Gradient ascent, distillation, and pruning by the quantum Fisher information all measure the QNN on the forget states [31], [32], and certified removal needs their gradient and curvature at the current parameters [33]. Federated unlearning from stored updates avoids new measurements [34], [35], but it removes whole nodes and cannot remove a window of time or a subset of samples. A drifted sensor, however, spoils only the states of one period, while the other states of its node remain sound. These methods share the assumption that the training data can be accessed again. Quantum data break this assumption. A state is consumed when it is measured, the no-cloning theorem forbids keeping a copy [36], and a sensor cannot re-create a field that has since changed. What a node keeps from training are the outcomes of parameter-shift measurements [37], and each outcome holds only for the parameters of its round, as Fig. 3 shows.

The structure of a QNN, however, makes deletion without replay possible. The gradient and the curvature of a QNN on a state are expectation values of observables, linear in the state. A classical shadow, the record of random single-qubit Pauli measurements on copies of a state, predicts expectation values of observables chosen after the measurement [38]. A node that records shadows of its states during training can thus estimate, at any later parameters, the gradient and curvature that the forget data contribute. The observable also sets the cost of this record. Under a local measurement, the observables of a shallow circuit act only on the backward light cone of the measured qubits [39], as Fig. 2 shows, so the record grows with the light cone and not with the number of qubits.

Motivated by these insights, we design Shadow-based Data Erasure (SHADE). Each node splits the copies of every state between training and shadow snapshots, and it keeps the snapshots on the light cone only. When a request arrives, the nodes estimate the gradient of the forget data and the curvature of the retained data from their snapshots at the current model. The server applies one Newton correction, and the snapshots of the forget data are erased. Only classical estimates cross the network, and no state is prepared again. The record spends a few training copies per state on the ability to forget it later.

Our contributions are summarized as follows:

  • We formulate forgetting in QFL when forget states cannot be re-measured, as choosing the copies recorded per state so that the correction meets a given error target.

  • We propose SHADE, which records classical shadows on the light cone in training and undoes the forget data by a federated Newton step built from these shadows.

  • We prove that the shadow estimates are unbiased at any parameters and that the snapshots needed per state grow exponentially in the size of the light cone and not in the number of qubits, and we bound the parameter distance between the corrected and the retrained model.

Figure

Fig. 1. System model of federated unlearning on quantum data.

  • In simulation with 50 nodes and on edge boards, SHADE matches the forget accuracy of retraining within 0.5 points, without replaying states and in under 0.2 s.

References (39)