Abstract
Predicting anomalous diffusion in quantum walks with non-Markovian environmental noise is computationally demanding. We introduce FracPINN, a fractional physics-informed neural network that embeds a fully differentiable, PyTorch-based Caputo PDE solver into a classical LSTM encoder. Rather than replacing classical predictors, FracPINN acts as a compact physics regularizer that constrains the inference with emergent fractional transport dynamics; every physics-informed loss component is strictly label-free, and the ground-truth exponent enters only through an explicitly supervised regression term. Evaluated on 3709 non-Markovian DTQW simulations with exponentially correlated Gaussian coin noise (filtered from 5000 raw samples to the physically admissible exponent range), FracPINN achieves a mean absolute error of and on held-out test data, outperforming classical baselines by in terms of the MAE overall, while adding only four interpretable physical parameters. Notably, gains concentrate in the sub-diffusive regime where memory effects dominate, with a MAE improvement over the baseline there, yet the normal and super diffusive accuracy remains intact. Once trained, the surrogate reduces inference from seconds of simulation to fractions of a millisecond per sample. These results show that our fractional PDE networks are most compelling as targeted physics refinements with minimal overhead within stable classical pipelines.
Keywords: physics-informed neural networks, quantum random walks, fractional diffusion, non-Markovian processes, surrogate modeling, anomalous diffusion
MSC: 03.67.-a, 05.40.Fb, 02.60.Lj, 07.05.Mh
1. Introduction
Quantum random walks (QRWs) provide a fundamental framework for understanding quantum transport and have been identified as a key primitive for quantum algorithms, quantum simulation, and quantum-enhanced search protocols [1,2,3]. Unlike their classical counterparts, discrete-time quantum walks (DTQWs) exhibit ballistic spreading in idealized settings, a consequence of quantum interference between amplitudes on a lattice [4]. However, real-world implementations are inevitably coupled to environmental degrees of freedom, leading to decoherence and modified transport regimes that range from ballistic to diffusive and even to localization [5,6,7].
A particularly important class of environmental noise arises when the system bath coupling exhibits temporal correlations, or the so-called non-Markovian noise. In such settings, the quantum walker’s dynamics retain a memory of past states, and the resulting spatial probability distribution may exhibit anomalous diffusion, characterized by a mean-squared displacement (MSD) that scales as with [8,9]. The parameter serves as an effective order parameter for the transport regime; corresponds to sub-diffusion (memory trapping), corresponds to normal diffusion, and corresponds to super diffusion or persistent acceleration [10,11,12]. Experimental platforms including trapped ion systems [5] and photonic waveguides [13] have demonstrated non-Markovian effects, yet the theoretical characterization of these regimes remains computationally expensive, typically requiring repeated simulation of the full unitary evolution followed by statistical averaging.
Recent advances in physics-informed machine learning [14,15] offer a promising alternative. Physics-informed neural networks (PINNs) embed governing differential equations directly into the loss function of a neural network, thereby constraining the learned solution to be physically consistent [16,17]. While PINNs have been successfully applied to integer-order PDEs in fluid mechanics [16], heat transfer [18], and orbital mechanics [19], their extension to fractional order systems is less developed. Fractional PINNs (fPINNs), introduced by Pang et al. [20], incorporate Caputo or Riesz fractional derivatives into the neural network loss, enabling the solution of forward and inverse problems for anomalous diffusion [21,22]. However, existing fPINN frameworks have focused on direct solution of the fractional PDE from sparse data or known boundary conditions; they have not been applied to the more challenging inverse problem of inferring fractional parameters from coarse-grained observables of an underlying quantum stochastic process.
In parallel, machine learning methods for anomalous diffusion classification have emerged, with recurrent neural networks (RNNs) and convolutional networks being trained to segment single-particle trajectories into normal, sub-diffusive, and super diffusive categories [23,24,25,26,27]. These approaches are primarily data-driven and do not explicitly enforce the fractional transport physics governing the dynamics. Moreover, they focus on the trajectory level rather than the mesoscopic statistical regime relevant to quantum walk ensembles.
The present approach occupies a complementary niche to the works cited above, with the following concrete advantages. (1) Compared with direct DTQW simulation, the surrogate amortizes the cost of the full unitary evolution. Once trained, parameter inference for a new sample requires only a fraction of a millisecond instead of seconds to minutes of simulation per noise realization, which makes large parameter sweeps and interactive calibration practical (Section 5.5). (2) Compared with purely data-driven trajectory classifiers [23,24,25,26,27], our model operates on cheap, coarse-grained ensemble statistics rather than raw trajectory data, and it embeds the fractional transport equation as a structural prior. As shown in Section 5.3, this prior yields its largest accuracy gain precisely in the memory-dominated sub-diffusive regime, where purely data-driven regression is least reliable. (3) Compared with existing fPINN formulations [20,21,22], which solve the fractional PDE forward in time from known coefficients or boundary data, we address the inverse problem of inferring the effective fractional parameters of an underlying quantum stochastic process from late-time observables. To the best of our knowledge, this is the first fractional PINN surrogate for non-Markovian quantum walks.
In this work, we connect fractional physics-informed learning to quantum walk simulation by introducing FracPINN, a surrogate model that infers the effective anomalous diffusion exponent and fractional transport parameters from coarse-grained statistical features of non-Markovian DTQW simulations. Our contributions are threefold. Firstly, we formulate the inverse problem of inferring fractional diffusion parameters from reduced observables (variance, entropy, kurtosis, and spatial correlation) extracted from DTQW simulations with exponentially correlated Gaussian coin noise. Secondly, we design a neural architecture combining an LSTM encoder for time series statistics with a fully differentiable fractional PDE solver based on the Caputo derivative. The model is trained with a four-component loss function comprising data consistency, differentiable solver consistency, physical regularization, and supervised exponent regression. Crucially, none of the physics-informed loss components use the ground-truth exponent; the label enters only through the explicitly supervised regression term. What is more, we conduct extensive experiments on a dataset of 3709 physically admissible DTQW simulations spanning sub-diffusive, normal, and super diffusive regimes. Our model achieves an MAE of and , outperforming the baseline MLP by in terms of MAE. Ablation studies confirm that the physics-informed loss terms are most beneficial in the sub-diffusive regime.
The rest of this paper is organized as follows. Section 2 formulates the mathematical problem. Section 3 describes the DTQW simulator, coarse-grained statistics, fractional PDE solver, and FracPINN architecture. Section 4 details the experimental set-up and dataset generation. Section 5 presents the main results, ablation study, and regime analysis. Section 6 discusses implications and limitations, and Section 7 concludes the paper.
2. Problem Formulation
We consider a one-dimensional discrete-time quantum walk on a lattice with a coin degree of freedom. At each time step t, the joint state of the walker and coin is evolved by a position shift operator and a coin rotation:
| (1) |
where S shifts the walker conditioned on the coin state and applies a rotation of an angle to the coin. In the presence of environmental noise, the coin phase becomes a stochastic process. For non-Markovian colored Gaussian noise, we model the phase sequence as a stationary Gaussian process with zero mean and exponential covariance:
| (2) |
where is the noise strength and is the correlation time. Equivalently, in the discrete time is an AR(1) or Ornstein–Uhlenbeck process with a correlation coefficient . We sample the joint sequence directly from the Gaussian process via the Cholesky factorization of the covariance matrix [28]. This exponentially correlated process introduces temporal memory into the coin dynamics, which propagates into the walker’s spatial distribution.
After T steps, the spatial probability distribution is extracted from each realization. The resulting distribution exhibits anomalous diffusion characterized by an effective exponent such that
| (3) |
Our goal is to learn a surrogate model that maps a vector of coarse-grained statistical features , extracted from the early time () evolution, to the effective diffusion exponent:
| (4) |
Rather than treating this as a purely data-driven regression, we embed physical constraints through a fractional diffusion model. Specifically, we assume that the mesoscopic density satisfies a generalized fractional diffusion equation with a memory kernel:
| (5) |
where denotes the Caputo fractional derivative of the order with , is a generalized diffusion coefficient, and the memory kernel captures the non-Markovian character of the environment, while is the kernel strength and the memory decay time. The spatial operator is the standard Laplacian on the one-dimensional lattice.
On the choice of the Caputo derivative, several definitions of the fractional derivative exist, and we use the Caputo derivative [29] for the following reasons. (1) Regarding the initial conditions, the Caputo derivative admits standard integer-order initial conditions (, and when ), whereas the Riemann–Liouville derivative requires fractional-order initial data that lack a direct physical interpretation for an evolving probability density. (2) For causality, the Caputo operator accumulates memory from onward, matching the causal build-up of correlations in the driven quantum walk. (3) Finally, for numerical maturity, the L1 discretization of the Caputo derivative is well studied and conditionally stable for [30], which is precisely the order range used here. The main drawbacks are the weakly singular kernel at , which reduces the accuracy at early times, the history cost per step, and the limited accuracy order of the L1 scheme. We quantify the associated discretization error by grid refinement in Section 3. The Grünwald–Letnikov definition is equivalent to the Caputo one for sufficiently smooth functions vanishing at but leads to less stable weight recurrences, while the Riesz derivative acts on space rather than time and is therefore not suited to the temporal memory studied here.
On the relation , the fractional order predicted by the network is related to the MSD exponent by for the following reasons. (1) Coverage and numerical stability, as for the underlying unit-step lattice walk, the MSD is bounded by the ballistic limit , and the map sends this entire physical range onto , exactly the interval in which the Caputo L1 scheme is defined and conditionally stable [30]. (2) Regarding Hurst index interpretation, the exponentially correlated coin noise acts as a persistent random drive in analogy with fractional Brownian motion, whose MSD scales as with the Hurst index [31]; identifying with H yields , with , , and corresponding to sub-, normal, and super diffusion, respectively. This identification is used consistently in the power-law proxy of the data loss (Section 3). (3) Finally, there is the role of the memory kernel. The kernel in Equation (5) is not intended to determine the asymptotic order; it models short- and intermediate-time deviations from ideal power-law scaling (crossover behavior), while the asymptotic exponent is carried by the Hurst-like parameter . We emphasize that Equation (5) is an effective mesoscopic description; in the pure Caputo diffusion limit (), its MSD scales as asymptotically, and thus Equation (5) should be read as a physics-based regularizer of the variance curve shape rather than as a first-principles derivation of the exponent mapping. The exponent mapping itself is calibrated through the supervised term (Section 3).
The inverse problem is to infer the parameters from the observable statistics , from which follows directly. We emphasize that this is an effective description; the fractional PDE is a mesoscopic approximation of the underlying microscopic quantum dynamics, and the parameters are emergent rather than fundamental. They summarize the transport behavior of the underlying quantum dynamics at the mesoscopic level.
3. Methods
Our simulator implements a coined DTQW on a one-dimensional lattice of 401 sites () with a two-dimensional coin space . The shift operator is defined as follows:
| (6) |
The coin rotation at each step is
| (7) |
with being the Pauli-y matrix. The colored noise is generated as follows. For each sample, we draw the noise strength from a Beta(2,2) distribution on and the correlation time uniformly from (Section 4.1), and we sample the phase sequence from the Gaussian process in Equation (2) via Cholesky factorization of the covariance matrix. The noise enters the coin as a random phase with a fixed base coin angle per sample. The initial walker state is localized at with coin state .
For each sampled parameter triple , we simulate one noise realization up to steps, and the coarse-grained statistics (Section 3) are computed from the spatial probability distribution of that realization. Two comments on this protocol are in order. First, is required by the downstream task itself; the target exponent is fitted via log-log regression of the MSD over the asymptotic window , and thus the trajectory must extend well beyond the transient. The early-time input to the network uses only . Second, we use a single realization per parameter set rather than an ensemble average over M realizations for two reasons: (1) the spatial distribution of a single realization already provides a smooth statistical object from which the four coarse-grained observables are well defined, and the exponent fit aggregates 400 time points; and (2) the computational cost scales linearly with M. A single 500-step realization costs ≈0.23 s on our workstation (Section 4.2), and thus generating the 5000 raw samples with takes ≈20 CPU minutes, whereas would take ≈16 CPU-hours. Averaging over realizations would reduce the variance in the per-sample statistics, but it would not change the quantity being estimated (the underlying anomalous exponent), and the single-realization protocol proved sufficient for the accuracy levels reported in Section 5. Figure 1 shows a representative probability evolution and the associated coin noise trajectory.
Figure 1.

(a) Spatiotemporal probability evolution of a non-Markovian DTQW. (b) Snapshots of the spatial distribution at selected times. (c) The exponentially correlated Gaussian phase noise generated from the covariance function in Equation (2).
From the spatial probability matrix of each realization, we extract a four-dimensional statistical feature vector at each time step:
Variance: .
Shannon entropy: , normalized by .
Kurtosis: , evaluated on the centered distribution.
Spatial correlation: , a nearest-neighbor difference measure that is large for localized (rough) distributions.
These statistics are normalized to a zero mean and unit variance using a StandardScaler fitted on the training set. The early time window with provides the input to the neural network. Figure 2 illustrates the four statistics for a representative sample.
Figure 2.

Coarse-grained statistical observables extracted from a representative DTQW sample: (a) variance, (b) Shannon entropy, (c) kurtosis, and (d) spatial correlation. All quantities are shown as functions of the time t.
The fractional PDE (Equation (5)) is solved numerically on a one-dimensional lattice with spacing and a time step . The Caputo time fractional derivative of the order is discretized using the L1 scheme [30]:
| (8) |
with coefficients , and . Solving Equation (8) for yields the explicit update
| (9) |
which reduces to the classical explicit Euler scheme for .
The spatial Laplacian is discretized by the standard three-point stencil with zero-flux boundary conditions, and the memory integral is computed via trapezoidal quadrature with the kernel .
Three considerations motivate the unit discretization. (1) For physical matching, the surrogate PDE is defined on the same lattice as the DTQW itself; the walker moves by exactly one site per step, and thus and are the native resolutions of the microscopic dynamics. A finer grid would resolve sub-lattice scales on which no physical information exists. (2) Regarding stability, the explicit update in Equation (9) requires ; with , this holds for , which we enforce inside the solver through the smooth saturation with (identity to first order near , differentiable everywhere). (3) Finally, for the verified accuracy, we repeated the solution on refined grids and , both inside the stability region, for the representative parameters (, , , and ). Relative to the finest grid, the unit grid reproduces the variance curve within the early training window with a normalized-shape deviation of ≤2% for ; only for deep sub-diffusion (), where the kernel singularity is strongest, does the local shape deviation reach ≈20%. Since the training losses compare normalized variance shapes (Section 3) and the supervised term dominates the exponent regression, this level of discretization error is acceptable for the present surrogate; implicit or adaptively refined solvers are left to future work (Section 6).
Two implementations of the same scheme were used. For training, the solver was written entirely in PyTorch as batched tensor operations over the early window (81 spatial points, ); the L1 coefficients (Equation (8)) are functions of the predicted , the memory convolution involves the predicted , and the Laplacian term involves the predicted . Therefore, the full solution —and any loss computed from it—is differentiable with respect to all four predicted parameters, with gradients flowing through via torch.lgamma. For post hoc analysis and figure generation outside the training loop, we used an equivalent NumPy reference implementation. This resolves the solver into the training pipeline without third-party autodiff bridges, and it renders the physics consistency loss below a genuinely differentiable quantity rather than a placeholder.
During training, the FracPINN predicts the parameters , which are fed into the solver to produce a predicted density evolution . This density is then used to compute the physics consistency loss. Representative solutions of the fractional diffusion equation for different exponents are shown in Figure 3, and the memory kernel together with the Caputo derivative weights is visualized in Figure 4.
Figure 3.

Solutions of the fractional diffusion equation for different anomalous exponents at times (a) , (b) , and (c) . Solid: (normal); dashed: (sub-diffusion); dash-dotted: (super diffusion). The curves are true numerical solutions of Equation (5) matched with the differentiable L1 solver on the unit grid () at the model mapping , with , , and .
Figure 4.

(a) Exponential memory kernel for different kernel strengths . (b) L1 coefficients of the Caputo discretization (Equation (8)) for different fractional orders .
The FracPINN model consists of two modules: a time series encoder and a proxy parameter head.
In the encoder, the input is a tensor of a shape , where B is the batch size and 4 is the number of coarse-grained statistics. A three layer (unidirectional) LSTM with a hidden dimension of 128 processes the time sequence and produces a final hidden state .
For the proxy parameter head, a fully connected network with hidden layers of sizes 256, 128, and 64 maps to the four physical parameters:
| (10) |
The sigmoid and softplus activations enforce positivity and boundedness constraints appropriate for the physical parameters. The model has 407,236 trainable parameters. The architecture is summarized in Figure 5.
Figure 5.

Schematic of the FracPINN architecture. The input is a time series of four coarse-grained statistics encoded via three-layer LSTM. The resulting hidden state is mapped to four physical parameters by the proxy parameter head, which are then fed into a differentiable fractional PDE solver. The four-component loss function compares the predicted density against the simulation at the data level, solver consistency level, physical parameter level, and supervised exponent level.
The total loss is a weighted sum of four components:
| (11) |
A design principle of this work is that every physics-informed component is strictly label-free; the ground-truth exponent enters only through the explicitly supervised term . This separation ensures that any benefit attributed to the fractional PDE is genuinely physics-driven rather than a disguised form of label regression.
Data loss. The data loss compares the predicted variance evolution from the inferred parameters with the true early time variance using the closed-form power-law proxy . Since the absolute scale depends on and is destroyed by standardization, we compare the shape of the variance curve by normalizing both the prediction and truth to the interval:
| (12) |
where denotes min-max normalization along the time axis. This formulation ensures the loss is sensitive to the exponent rather than the absolute prefactor .
PDE-consistency loss. The differentiable solver is marched with the predicted parameters over the early window, and the variance in the resulting density is compared with the observed early-time variance, again in a normalized shape:
| (13) |
where is computed from the solver output in Equation (9). Unlike , which uses the asymptotic power-law proxy, this term involves the full fractional dynamics—the Caputo history weights and the memory kernel—and gradients flow through the L1 scheme to all four parameters.
Physical regularization. To keep the predicted parameters in physically meaningful and identifiable ranges, we apply label-free hinge penalties:
| (14) |
where denotes the batch mean. The first term keeps away from the hard sigmoid bounds where gradients saturate; the second enforces memory-horizon identifiability, a memory time much longer than the observation window cannot be inferred from the input statistics; and the third is a numerical backstop for the positivity already enforced by softplus. No ground-truth quantity enters this term.
Supervised regression loss. The only term that uses the ground-truth label is the supervised regression of the diffusion exponent through the model relation :
| (15) |
This is the standard supervised signal of the surrogate, and we report it as such rather than as physics.
Training proceeds in two stages. In Stage 1 (pretraining, epochs 1–100), the differentiable-solver term is switched off (), allowing the network to first learn the data-driven mapping from statistics to parameters through the cheap power-law proxy and the supervised term. In Stage 2 (physics-constrained, epochs 101–300), the solver term is switched on at , enforcing the full fractional dynamics. The remaining weights are kept constant at , , and throughout. Both stages use the AdamW optimizer with an initial learning rate of , weight decay of , and cosine annealing to . Early stopping monitors the validation MAE with a patience of 30. The evolution of the individual loss components is shown in Figure 6.
Figure 6.

Training loss curves for (a) Stage 1 (pretraining) and (b) Stage 2 (physics-constrained training), together with the validation MAE of the diffusion exponent. (c) Validation MAE ().
4. Experimental Set-Up
4.1. Dataset Generation
The dataset generation pipeline consists of the following steps, which we state explicitly for reproducibility:
Sampling of simulation parameters. The simulation parameters —the coin angle, noise strength, and noise correlation time—were sampled over , , and . The coin angle and correlation time were drawn via Latin hypercube sampling (LHS) [32], and the noise strength from a Beta(2,2) distribution, which concentrated samples in the physically relevant moderate-noise region. Importantly, the diffusion exponent was not a simulation input and was never sampled.
Simulation. For each parameter triple, one DTQW realization of steps was simulated as described in Section 3.
A posteriori exponent fitting. For each realization, the exponent was fitted via log-log linear regression of the MSD over the asymptotic window . The fitted was a derived label and not a simulation parameter.
Physical-range filtering. Samples whose fitted exponent fell outside the physically admissible range were discarded. Negative or near-zero exponents were fitting artifacts of strongly trapped realizations whose variance was essentially flat, and thus the log-log regression reduced to fitting numerical noise; a negative MSD power-law exponent was not physical for an initially localized walker. Exponents above 2 exceeded the ballistic bound of any unit-step lattice walk and corresponded to transient acceleration rather than asymptotic scaling. Of the 5000 raw samples, 642 () were removed for , and 649 () were removed for , leaving 3709 physically admissible samples with .
Stratification. Stratified resampling into 10 equal-frequency buckets ensured balanced coverage of the exponent range.
The final dataset of 3709 samples was split into training (70%), validation (15%), and test (15%) sets and stratified by the 10 buckets to preserve distributional balance, yielding 2597 training, 560 validation, and 552 test samples. All statistics were standardized using the training set mean and variance. The parameter coverage and the filtered exponent distribution are visualized in Figure 7.
Figure 7.

(a) Scatter plot of the plane for the 3709 physically admissible samples. Note that was fitted a posteriori and not sampled. (b) Histogram of the distribution after filtering and stratified resampling into 10 equal-frequency buckets.
4.2. Implementation Details
The simulator, differentiable PDE solver, and neural network were implemented in PyTorch (version 2.11, CUDA 13) [33]. PyTorch was chosen for three reasons: (1) its automatic differentiation engine allowed the fractional PDE solver to be embedded directly in the training graph, and thus gradients flowed through the L1 scheme to all predicted parameters without manual adjoint derivation; (3) native GPU support accelerated both LSTM training and the batched solver; and (3) its modular ecosystem (optimizers, schedulers, and checkpointing) supported the two-stage training protocol and exact reproducibility through seeded runs. The NumPy/SciPy stack was retained for dataset generation and post hoc analysis. The LSTM encoder had 3 layers with a hidden dimension of 128 and dropout of 0.2. The proxy head had three hidden layers with sizes of 256, 128, and 64, with a dropout of 0.2. Training was performed on the GPU with a batch size of 32. The baseline MLP was a three-layer network with hidden dimensions of [256, 128, 64] that took the flattened statistics as input and directly predicted via a linear output layer.
All experiments were run on a workstation with an AMD Ryzen 9 9950X 16-core CPU (4.3 GHz), 64 GB of RAM, and an NVIDIA GeForce RTX 5090 D v2 GPU (24 GB) under Windows 11 with Python 3.13, PyTorch 2.11.0+cu130, and NumPy 2.4.6. On this machine, one full 500-step DTQW realization took ≈0.23 s, and training the full FracPINN model (300 epochs, 3709 samples) took ≈10 min on the GPU.
5. Results
5.1. Main Results
Table 1 summarizes the test set performance of FracPINN and the baseline MLP on the 552-sample test set. FracPINN achieved a mean absolute error (MAE) of , root mean squared error (RMSE) of , and coefficient of determination . The baseline MLP, trained on the same data without physical constraints, achieved an MAE , RMSE , and , representing a relative improvement of FracPINN in terms of MAE.
Table 1.
Testset performance comparison.
| Model | MAE | RMSE | |
|---|---|---|---|
| FracPINN (full) | 0.214 | 0.318 | 0.682 |
| Baseline MLP | 0.225 | 0.326 | 0.666 |
Figure 8 shows the predicted versus true values for the 552 test samples. The FracPINN predictions clustered around the diagonal, with a slight bias toward the center of the range due to the physical regularization. The error distribution was approximately Gaussian with a mean of and standard deviation of , confirming the absence of strong systematic bias.
Figure 8.

(a) Predicted versus true values on the 552-sample test set. The diagonal dashed line indicates perfect prediction; the shaded region shows error bounds. (b) Histogram of prediction errors, with a mean (red vertical line) close to zero, indicating an absence of strong systematic bias.
The variance evolution predicted by FracPINN closely matched the ground truth for the representative samples, whereas the baseline MLP tended to underestimate the exponent in the super diffusive regime and overestimate it in the sub-diffusive regime (Figure 9). This discrepancy is attributed to the lack of physical constraints in the MLP, which cannot enforce the power-law scaling relationship between variance and time.
Figure 9.

Variance evolution for a representative sample. The FracPINN prediction (dashed blue) closely follows the ground truth (solid black), while the baseline MLP (dash-dotted red) deviates toward normal diffusion scaling ().
5.2. Ablation Study
To quantify the contribution of each architectural and loss component, we conducted four ablation experiments: (1) removing the differentiable-solver consistency term and the physical regularization (, ), (2) removing the data loss (), (3) reducing the network size to a two-layer LSTM with hidden dimension of 64, and (4) the baseline MLP. Table 2 reports the results.
Table 2.
Ablation study results.
| Experiment | MAE | RMSE | |
|---|---|---|---|
| FracPINN (full) | 0.214 | 0.318 | 0.682 |
| No physics terms | 0.213 | 0.320 | 0.677 |
| No data loss | 0.213 | 0.313 | 0.692 |
| Small network | 0.233 | 0.327 | 0.663 |
| Baseline MLP | 0.225 | 0.326 | 0.666 |
On the overall test set, the full model, the no-physics ablation, and the no-data ablation performed within about of each other in terms of MAE, while the reduced network and the baseline MLP were clearly worse ( and degradation, respectively). This shows that the physics-based parameterization—predicting through the constrained head with the power-law proxy—already provided the main in-distribution benefit and that the solver-level physics terms did not degrade performance. Crucially, the solver-level physics terms yielded their largest gain where it was physically expected; in the sub-diffusive regime, the full model improved the MAE by over the no-physics ablation and by over the baseline MLP (Table 3), because the memory–kernel dynamics discriminated between trapped and merely slow-spreading. We therefore revised our earlier, stronger claim that the physics terms dominate the overall accuracy: their contribution is regime-specific, which we now state explicitly. The ablation comparison is summarized visually in Figure 10.
Table 3.
Performance by diffusion regime.
| Regime | FracPINN MAE (RMSE) | Baseline MAE (RMSE) | n |
|---|---|---|---|
| Sub-diffusion () | 0.231 (0.334) | 0.267 (0.365) | 231 |
| Normal () | 0.275 (0.357) | 0.269 (0.360) | 60 |
| Super diffusion () | 0.184 (0.293) | 0.178 (0.276) | 261 |
Figure 10.

Ablation study comparing FracPINN (full), variants with physics terms removed, data loss removed, reduced network capacity, and the baseline MLP. Left axis: MAE and RMSE; right axis: .
5.3. Regime Analysis
We partitioned the test set into three diffusion regimes based on the true : sub-diffusion (), normal diffusion (), and super diffusion (). Table 3 reports the per-regime metrics. FracPINN achieved its clearest advantage in the sub-diffusive regime (MAE vs. for the baseline MLP, a improvement, and for the no-physics ablation), where the non-Markovian memory was strongest and the physics-informed terms provided genuine discrimination. In the super-diffusive regime, the model performed comparably to the baseline (MAE vs. ), and in the narrow normal regime (, only 60 test samples) both models showed their largest relative errors, as small absolute deviations were significant against the compressed label range. The within-regime values were not informative here, because the label variance inside each narrow regime slice was small; we therefore report the MAE and RMSE only. The per-regime comparison is visualized in Figure 11.
Figure 11.

(a) Performance metrics (MAE and RMSE) by diffusion regime: sub-diffusion (), normal (), and super diffusion (). (b) Histogram of the distribution across the dataset, colored by regime.
The baseline MLP exhibited a larger degradation in the sub-diffusive regime (MAE versus for FracPINN), consistent with the hypothesis that physics-informed regularization is most beneficial when the dynamics deviate strongly from the classical limit.
5.4. Long-Term Extrapolation
A frequently advertised benefit of physics-informed models is extrapolation beyond the training window. We assessed this honestly with six held-out DTQW simulations (500 steps each) that were not part of the dataset. For each simulation, the model received only the early statistics () and predicted the exponent . The extrapolated variance curve was then compared with the true simulated variance up to (10 times the input window). For the simulations lying inside the filtered training range, the predicted exponents were accurate to – (e.g., versus ), and the extrapolated variance tracked the true curve with a relative error of ≈12% at (Figure 12). For strongly trapped or transient realizations outside the training range, however, power-law amplification of the exponent error over a decade in time produced substantially larger curve deviations. We therefore state the extrapolation capability with care: the surrogate yields reliable exponent estimates and useful medium-horizon predictions within the training distribution, but it is not a substitute for simulation far outside it.
Figure 12.

Long-term extrapolation test on two held-out simulations. Training on early-time statistics (, shaded region), FracPINN extrapolated the variance curve to (dashed) against the ground truth (solid). (left) A super-diffusive in-distribution case (, ). (right) A case closer to the edge of the training range, where the error was larger.
5.5. Computational Efficiency
Once trained, FracPINN evaluated a single sample in ≈0.33 ms on the CPU (AMD Ryzen 9 9950X), whereas one full 500-step DTQW realization required ≈0.23 s on the same machine, a speedup of ≈ per realization. For ensemble studies that averaged over realizations per parameter set, the simulation cost rose to ≈11 s, corresponding to a speedup of ≈; batched GPU inference widened the gap further. Training the full model took ≈10 min on the RTX 5090 GPU for 3709 samples and 300 epochs. The inference speedup makes the surrogate suitable for interactive parameter estimation and Bayesian calibration workflows.
6. Discussion
Our results demonstrate that fractional physics-informed neural networks can effectively serve as surrogate models for quantum random walk parameter estimation, bridging the gap between microscopic quantum simulation and mesoscopic fractional transport theory. The key insight is that coarse-grained statistical observables, variance, entropy, kurtosis, and spatial correlations, contain sufficient information to infer the effective anomalous diffusion exponent, provided the inference is constrained by the appropriate fractional PDE.
The ablation study revealed a nuanced trade-off between data-driven and physics-driven learning. In the normal diffusion regime, the data loss alone was nearly sufficient, reflecting the fact that the variance scaling was approximately linear and easily captured by regression. In the sub-diffusive regime, however, the physics terms became important; without them, the network tended to predict exponents near the population mean, failing to capture the slow, memory-trapped spreading characteristic of strong non-Markovianity. This is consistent with the observation in [23] that anomalous diffusion classification benefits from physical priors when the signal is weak relative to noise.
Several limitations of the current framework warrant discussion. First, the fractional PDE in Equation (5) is an effective model; it does not capture microscopic quantum coherence effects such as revival and partial localization that may occur at specific parameter values. Future work could incorporate a Schrödinger-like term or a nonlocal potential to account for these effects. Second, the PDE solver is currently one-dimensional; extending it to two or three spatial dimensions would enable the study of more complex lattice geometries and graph structures [34]. Third, the memory kernel is parameterized as a simple exponential; a more flexible non-parametric kernel could be learned jointly with the neural network, as suggested by recent work on kernel discovery with neural operators [14]. Fourth, in the pure Caputo limit, the fractional diffusion equation sustains at most linear MSD growth, and thus the strongly super-diffusive and ballistic regimes are represented through the Hurst-like power-law proxy rather than through the PDE solution itself; a fractional diffusion-wave formulation (derivative order in ) would cover these regimes directly and is a natural extension. Fifth, the explicit L1 solver on the unit grid loses accuracy for deep sub-diffusion (; see Section 3); implicit schemes or adaptive refinement would remove this restriction. Sixth, each dataset sample is a single noise realization, and thus the per-sample statistics carry realization noise that an ensemble average would reduce at additional computational cost. Figure 13 shows the prediction error landscape across the parameter space, highlighting the region of highest accuracy near the center of the training distribution.
Figure 13.

Prediction error (MAE) landscape as a function of the true parameters . Errors are smallest near the center of the parameter space where the training data are most concentrated.
From an experimental perspective, the framework is directly applicable to trapped ion quantum walk platforms, where the coin noise can be engineered by coupling the ion to an engineered bath with a tunable correlation time [5]. In such settings, the coarse-grained statistics could be extracted from fluorescence images, and the FracPINN could provide real-time feedback for bath parameter calibration. Photonic implementations [13] are another promising venue, as the walker’s spatial distribution is naturally accessible via array detectors.
Finally, we note that the surrogate modeling approach developed here is not limited to quantum walks. The same framework could be applied to classical anomalous diffusion in complex media [25], fractional viscoelasticity [20], and transport in porous materials [35], or wherever the governing dynamics are characterized by memory and fractional derivatives.
7. Conclusions
We introduced FracPINN, a fractional physics-informed neural network that learns to infer the effective anomalous diffusion exponent and fractional transport parameters from coarse-grained statistical observables of non-Markovian discrete-time quantum walks. By embedding a differentiable Caputo derivative PDE solver into the neural network and training with a multi-component loss function whose physics-informed terms are strictly label-free, the model achieved accurate predictions across sub-diffusive, normal, and super-diffusive regimes. On a dataset of 3709 physically admissible DTQW samples, FracPINN attained an MAE of and , outperforming a purely data-driven baseline by in terms of MAE and by in the memory-dominated sub-diffusive regime. Once trained, the model provided inference in fractions of a millisecond, enabling real-time parameter estimation for quantum simulation and transport characterization. We plan to extend the framework to higher dimensional lattices, nonparametric memory kernels, fractional diffusion-wave dynamics for the ballistic regime, and experimental data from trapped ion and photonic platforms.
Supplementary Materials
The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/e28080844/s1. Data S1: qw_dataset_physical.
Author Contributions
Conceptualization, C.L.; Methodology, Z.Z., M.L. and C.L.; Software, Z.Z., M.L. and C.L.; Validation, F.Y., J.S., X.W., L.S. and Y.W.; Formal analysis, L.S. and Y.W.; Investigation, Z.Z. and M.L.; Resources, F.Y., J.S. and Y.W.; Data curation, Z.Z., M.L. and C.L.; Writing—original draft, C.L.; Writing—review & editing, Z.Z., M.L., L.S. and Y.W.; Visualization, F.Y., J.S. and X.W.; Supervision, L.S. and Y.W.; Project administration, L.S. and Y.W.; Funding acquisition, L.S. and Y.W. All authors have read and agreed to the published version of the manuscript.
Data Availability Statement
The original contributions presented in this study are included in the Supplementary Materials archive. Further inquiries can be directed to the corresponding authors.
Conflicts of Interest
The authors declare no conflicts of interest.
Funding Statement
This work was supported by the National Natural Science Foundation of China (NSFC) (Grants No. 12404404, No.12504343, No. U21A20436, and No. 12205069), the National Key Research and Development Program of China (Grant No. 2024YFA1408900), the Hangzhou Joint Fund of the Zhejiang Provincial Natural Science Foundation of China under Grant No. LHZSD24A050001, and the Innovation Program for Quantum Science and Technology (Grant No.2021ZD0301705). This research was supported by the Natural Science Foundation of Zhejiang Province under Grant No. LQN25A040019, Hangzhou Leading Youth Innovation and Entrepreneurship Team project under Grant No. TD2024005, and the HZNU scientific research and innovation team proiect (Grant No. TD2025003).
Footnotes
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
References
- 1.Kempe J. Quantum random walks: An introductory overview. Contemp. Phys. 2003;44:307–327. doi: 10.1080/00107151031000110776. [DOI] [Google Scholar]
- 2.Childs A.M. On the Relationship Between Continuous- and Discrete-Time Quantum Walk. Commun. Math. Phys. 2010;294:581–603. [Google Scholar]
- 3.Ambainis A., Kempe J., Rivosh A. Proceedings of the 16th ACM-SIAM SODA. Volume 1099 ACM; New York, NY, USA: 2004. Coins Make Quantum Walks Faster. [Google Scholar]
- 4.Kendon V.M. A random walk approach to quantum algorithms. Philos. Trans. R. Soc. A. 2006;364:3407–3422. doi: 10.1098/rsta.2006.1901. [DOI] [PubMed] [Google Scholar]
- 5.Schmitz H., Matjeschk R., Schneider C., Glueckert J., Enderlein M., Huber T., Schaetz T. Quantum Walk of a Trapped Ion in Phase Space. Phys. Rev. Lett. 2009;103:090504. doi: 10.1103/physrevlett.103.090504. [DOI] [PubMed] [Google Scholar]
- 6.Joye A., Merkli M. Dynamical Localization of Quantum Walks in Random Environments. J. Stat. Phys. 2010;140:1025–1053. doi: 10.1007/s10955-010-0047-0. [DOI] [Google Scholar]
- 7.Jackson S.R., Khoo T.J., Strauch F.W. Quantum walks on trees with disorder: Decay, diffusion, and localization. Phys. Rev. A. 2012;86:022335. doi: 10.1103/physreva.86.022335. [DOI] [Google Scholar]
- 8.Kumar N.P., Banerjee S., Srikanth R., Jagadish V., Petruccione F. Non-Markovian Evolution: A Quantum Walk Perspective. Open Syst. Inf. Dyn. 2018;25:1850014. doi: 10.1142/s1230161218500142. [DOI] [Google Scholar]
- 9.Pellegrini C. Continuous Time Open Quantum Random Walks and Non-Markovian Lindblad Master Equations. J. Stat. Phys. 2014;154:838–865. doi: 10.1007/s10955-013-0910-x. [DOI] [Google Scholar]
- 10.Levernier N., Mendes T.V., B´enichou O., Voituriez R., Guérin T. Everlasting impact of initial perturbations on first-passage times of non-Markovian random walks. Nat. Commun. 2022;13:5319. doi: 10.1038/s41467-022-32280-6. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Kenkre V.M., Montroll E.W., Shlesinger M.F. Generalized master equations for continuous-time random walks. J. Stat. Phys. 1973;9:45–50. doi: 10.1007/bf01016796. [DOI] [Google Scholar]
- 12.Gorenflo R., Mainardi F., Vivoli A. Continuous-time random walk and parametric subordination in fractional diffusion. Chaos Solitons Fractals. 2007;34:87. doi: 10.1016/j.chaos.2007.01.052. [DOI] [Google Scholar]
- 13.Potocek V., Gábris A., Kiss T., Jex I. Optimized quantum random-walk search algorithms on the hypercube. Phys. Rev. A. 2009;79:012325. doi: 10.1103/physreva.79.012325. [DOI] [Google Scholar]
- 14.Karniadakis G.E., Kevrekidis I.G., Lu L., Perdikaris P., Wang S., Yang L. Physics-informed machine learning. Nat. Rev. Phys. 2021;3:422. doi: 10.1038/s42254-021-00314-5. [DOI] [Google Scholar]
- 15.Raissi M., Perdikaris P., Karniadakis G.E. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J. Comput. Phys. 2019;378:686–707. doi: 10.1016/j.jcp.2018.10.045. [DOI] [Google Scholar]
- 16.Cai S., Mao Z., Wang Z., Yin M., Karniadakis G.E. Physics-informed neural networks (PINNs) for fluid mechanics: A review. Acta Mech. Sin. 2021;37:1727. doi: 10.1007/s10409-021-01148-1. [DOI] [Google Scholar]
- 17.Faroughi S.A., Pawar N., Fernandes C., Raissi M., Das S., Kalantari N.K., Mahjour S.K. Physics-Guided, Physics-Informed, and Physics-Encoded Neural Networks in Scientific Computing. arXiv. 20222211.07377 [Google Scholar]
- 18.Bolandi H., Sreekumar G., Li X., Lajnef N., Boddeti V.N. Physics informed neural network for dynamic stress prediction. Appl. Intell. 2023;53:26313–26328. doi: 10.1007/s10489-023-04923-8. [DOI] [Google Scholar]
- 19.Schiassi E., D’Ambrosio A., Drozd K., Curti F. Physics-Informed Neural Networks for Optimal Planar Orbit Transfers. J. Spacecr. Rockets. 2022;59:834–849. doi: 10.2514/1.a35138. [DOI] [Google Scholar]
- 20.Pang G., Lu L., Karniadakis G.E. fPINNs: Fractional Physics-Informed Neural Networks. SIAM J. Sci. Comput. 2019;41:A2603–A2626. doi: 10.1137/18m1229845. [DOI] [Google Scholar]
- 21.Wang S., Zhang H., Jiang X. Fractional physics-informed neural networks for time-fractional phase field models. Nonlinear Dyn. 2022;109:2715–2739. doi: 10.1007/s11071-022-07746-3. [DOI] [Google Scholar]
- 22.Ren H., Meng X., Liu R., Hou J., Yu Y. A class of improved fractional physics informed neural networks. Neurocomputing. 2023;562:126890. doi: 10.1016/j.neucom.2023.126890. [DOI] [Google Scholar]
- 23.Argun A., Volpe G., Bo S. Classification, inference and segmentation of anomalous diffusion with recurrent neural networks. J. Phys. A Math. Theor. 2021;54:294003. doi: 10.1088/1751-8121/ac070a. [DOI] [Google Scholar]
- 24.Qu X., Hu Y., Cai W., Xu Y., Ke H., Zhu G., Huang Z. Semantic segmentation of anomalous diffusion using deep convolutional networks. Phys. Rev. Res. 2024;6:013054. doi: 10.1103/physrevresearch.6.013054. [DOI] [Google Scholar]
- 25.Pinholt H.D., Bohr S.S.R., Iversen J.F., Boomsma W., Hatzakis N.S. Single-particle diffusional fingerprinting: A machine-learning framework for quantitative analysis of heterogeneous diffusion. Proc. Natl. Acad. Sci. USA. 2021;118:e2104624118. doi: 10.1073/pnas.2104624118. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Munoz-Gil G., Guigo i Corominas G., Lewenstein M. Unsupervised learning of anomalous diffusion data: An anomaly detection approach. J. Phys. A Math. Theor. 2021;55:024001. [Google Scholar]
- 27.Gajowczyk M., Szwabi J. Detection of Anomalous Diffusion with Deep Residual Networks. Entropy. 2021;23:649. doi: 10.3390/e23060649. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Rasmussen C.E., Williams C.K.I. Gaussian Processes for Machine Learning. MIT Press; Cambridge, MA, USA: 2006. [Google Scholar]
- 29.Caputo M. Linear Models of Dissipation whose Q is almost Frequency Independent—II. Geophys. J. Int. 1967;13:529–539. doi: 10.1111/j.1365-246x.1967.tb02303.x. [DOI] [Google Scholar]
- 30.Diethelm K. The Analysis of Fractional Differential Equations; Lecture Notes in Mathematics. Vol. 2004 Springer; Berlin/Heidelberg, Germany: 2010. [Google Scholar]
- 31.Mandelbrot B.B., Van Ness J.W. Fractional Brownian Motions, Fractional Noises and Applications. SIAM Rev. 1968;10:422. doi: 10.1137/1010093. [DOI] [Google Scholar]
- 32.McKay M.D., Beckman R.J., Conover W.J. A Comparison of Three Methods for Selecting Values of Input Variables in the Analysis of Output from a Computer Code. Technometrics. 1979;21:239–245. doi: 10.1080/00401706.1979.10489755. [DOI] [Google Scholar]
- 33.Paszke A., Gross S., Massa F., Lerer A., Bradbury J., Chanan G., Killeen T., Lin Z., Gimelshein N., Antiga L., et al. Proceedings of the Advances in Neural Information Processing Systems 32 (NeurIPS) Curran Associates, Inc.; Red Hook, NY, USA: 2019. PyTorch: An Imperative Style, High-Performance Deep Learning Library; pp. 8024–8035. [Google Scholar]
- 34.Duda R., Ivaki M.N., Sahlberg I., Pöyhönen K., Ojanen T. Quantum walks on random lattices: Diffusion, localization, and the absence of parametric quantum speedup. Phys. Rev. Res. 2023;5:023150. doi: 10.1103/physrevresearch.5.023150. [DOI] [Google Scholar]
- 35.Sun Y., Sengupta U., Juniper M. Physics-informed deep learning for simultaneous surrogate modeling and PDE-constrained optimization of an airfoil geometry. Comput. Methods Appl. Mech. Eng. 2023;411:116042. doi: 10.1016/j.cma.2023.116042. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The original contributions presented in this study are included in the Supplementary Materials archive. Further inquiries can be directed to the corresponding authors.
