Comparison with Classical JACOBI and Product-Integration Methods
To expose rather than hide the effect of basis matching, we use
with forcing generated analytically from the governing operator. The main cross-method RAP-QPSM row uses
, for which the second fractional power is not a polynomial in
and the comparison is not a manufactured exactness test. We also report the diagnostic choice
: then the two nonconstant powers are
and
, so the exact solution belongs to the finite basis space for
and round-off-level error is expected by Lemma 5. This matched row is included to demonstrate the
q-adaptation mechanism, not as evidence of generic superiority.
We compare these two RAP-QPSM choices with shifted Legendre collocation, representing the Jacobi spectral family [
17], classical L1 product integration, and an SOE-accelerated L1 history recurrence. Timings are medians from the supplied Python 3.13.5 implementation and are reproducibility indicators rather than machine-independent complexity constants.
The representative accuracy, timing, and conditioning values at 17 degrees of freedom are summarised in
Table 5.
At this resolution, the non-exact RAP-QPSM choice is approximately three orders of magnitude more accurate than Jacobi collocation and more than three orders more accurate than the two low-order time-stepping variants. Its bare condition number is , while the proposed preconditioner reduces it to . The matched row reaches , as predicted by exact-on-space representation, but also has a much larger bare condition number; preconditioning again reduces the latter to . Low-order L1 is cheaper for this very small system, so accuracy versus wall time, rather than equal degrees of freedom alone, is the appropriate practical comparison.
Figure 3 therefore reports not only accuracy, measured wall time, and conditioning versus degrees of freedom, but also a work–precision panel plotting
directly against wall time and
Figure 4 compares direct hereditary-history accumulation with the fixed-
Q SOE recurrence, showing quadratic growth for the direct implementation and approximately linear growth for the fixed-mode recurrence.
A separate history-scaling experiment isolates the purpose of the SOE augmentation. At 2048 time steps, direct history accumulation requires
seconds, whereas the fixed-mode SOE recurrence requires
seconds, a factor of about
. Both retain the same underlying L1 discretisation error; the measured SOE kernel contribution is
. The corresponding measured values are reported in
Table 6.
Example 1 (Linear
-Caputo delay benchmark)
. On with the identity clock considerwith the manufactured solution , history on , and forcing g obtained by inserting u into the left-hand side, the ψ-Caputo term being evaluated from a high-accuracy reference quadrature. This is the cleanest test of the delay machinery. The numerical solution is obtained purely by assembling and inverting the operator
with the initial-condition row, never by interpolating the known
u.
Table 7 shows spectral convergence from
at
to
at
, with the bare condition number growing slowly while the preconditioned condition number stays near
; the jump in
at
is the onset of round-off saturation once the error has reached machine level.
Figure 5 displays the solution together with the spectral approximation and the exact residual. To make the delay explicit, the solution panel also shows the history segment
on
, the
-shifted trace
that the delay term feeds back into the equation, and a labelled arrow of length
; the horizontal displacement between
u and its shifted copy is the delay. The geometric error decay and the contrast between the bare and preconditioned condition numbers are shown in
Figure 6.
Remark 10 (Reduction)
. Setting , and reduces (
10)
to the single-term Caputo equation solved by the quantum pseudo-spectral approach of [45]; the present scheme then reproduces that method, and the delay term is the genuine extension exercised here. Example 2 (Multi-term two-order problem on a curved clock)
. On with the curved clock consider the genuinely multi-term problemwith exact solution chosen smooth in the curved coordinate . This example exercises both the second fractional order
, for which Theorem 2 guarantees well-posedness, and a nontrivial memory clock.
Table 8 confirms spectral decay to about
and a preconditioned condition number that remains below four while the bare one passes five hundred;
Figure 7 shows the solution with its history and
-shifted trace alongside the exact residual, and
Figure 8 the convergence history.
Remark 11 (Reduction)
. With , and , the problem collapses to the single-term Caputo benchmark of [45]; the second fractional order β and the curved clock ψ are the new ingredients. Example 3 (Nonlinear Riccati-type delay equation)
. On with consider the nonlinear delay equationwith exact solution and history on . The quadratic term is treated at the nodes without a fractional chain rule. The discrete system is solved by the damped Newton iteration of Algorithm 2, with the Jacobian carrying the exact diagonal
. The iteration converges quadratically, the residual passing through
,
,
,
, and
in four steps independently of
N (
Table 9).
Figure 9 leads with the solution against the spectral approximation, with the history segment and the dashed
-shifted trace
making the delayed feedback visible, followed by the exact residual; the quadratic Newton history is shown separately in
Figure 10.
| Algorithm 2 Damped Newton Iteration for the Nonlinear Collocation System |
- 1:
Initialise satisfying the initial condition. - 2:
for
do - 3:
form the residual from ( 10) using the exact matrices ; - 4:
if then - 5:
stop - 6:
end if - 7:
form the Jacobian with the unit initial-condition row; - 8:
solve (preconditioned by ); - 9:
backtrack until the residual merit decreases and set . - 10:
end for
|
Remark 12 (Reduction)
. Removing the delay () leaves a nonlinear single-term Caputo equation handled at nodes without a fractional chain rule, exactly as in [45]; the delayed feedback is the extension. Example 4 (Weakly singular
-memory and kernel compression)
. On , with the power clock , consider the memory equationwith weakly singular kernel and exact solution smooth in the coordinate . This example isolates the hereditary memory and its compression. The exact memory matrix of Lemma 6 delivers spectral accuracy (
Table 10), shown together with the solution and the exact residual in
Figure 11. The sum-of-exponentials compression of Lemma 7 is reported in
Table 11: the kernel error falls from
with
modes to
with
modes, and the action of the compressed memory on the computed solution matches the exact memory to a relative
at
over the tested values of
N. This is the fixed-accuracy regime of Proposition 3: once the target kernel tolerance is prescribed, the same local mode set can be reused as
N varies. It is not a claim that
Q remains constant when the kernel tolerance is itself tightened spectrally with
N; see Remark 4.
Table 12 examines the basis exponent of Remark 2 on the genuinely singular profile
, showing that matching
q to the leading fractional exponent improves the accuracy by a factor between three and eight; it does not by itself restore full spectral decay, because the second term of the profile is not simultaneously a polynomial in
, which is the regime that motivates the multidomain treatment of Example 5. The SOE kernel fit and the basis-exponent comparison are displayed in
Figure 12.
Table 10.
Example 4: Convergence.
Table 10.
Example 4: Convergence.
| N | | |
|---|
| 4 | 6.39 × | 2.08 × |
| 6 | 9.44 × | 4.48 × |
| 8 | 8.23 × | 5.16 × |
| 10 | 6.56 × | 1.47 × |
| 12 | 3.54 × | 1.40 × |
| 14 | 9.36 × | 1.43 × |
Table 11.
Example 4: SOE.
Table 11.
Example 4: SOE.
| Q | Kernel Error |
|---|
| 18 | 3.01 × |
| 32 | 2.08 × |
| 52 | 3.05 × |
| 74 | 3.49 × |
| 100 | 6.06 × |
Table 12.
Example 4: q-match.
Table 12.
Example 4: q-match.
| N | q = 1 | q = |
|---|
| 6 | 1.64 × | 3.61 × |
| 8 | 8.23 × | 1.59 × |
| 10 | 4.77 × | 8.37 × |
| 12 | 3.04 × | 4.91 × |
| 16 | 1.48 × | 2.10 × |
| 20 | 8.39 × | 1.08 × |
Remark 13 (Reduction)
. For , and integer , the problem is the polynomial Caputo benchmark of [45]; the weakly singular memory and its compression are the new structure, and the q-matching clarifies when the polynomial basis is and is not adequate. Example 5 (Singularly perturbed delay problem)
. On , with , consider the singularly perturbed delay problemwith a small parameter ε multiplying the principal derivative and a forcing producing a steep boundary layer near . The delay is short relative to the domain, so the layer rather than the delay dominates the figures. This is the showcase for the preconditioner and the adaptive solver.
Figure 13 shows the layer-resolving solution against the reference and the exact residual.
Table 13 reports the conditioning at
as
varies: at
, the bare condition number is
and the preconditioner brings it to
, about five orders of magnitude, and the benefit is largest in the derivative-dominated regime exactly as Remark 8 predicts.
Table 14 shows the same effect as the order grows at fixed
.
Table 15 documents the residual-adaptive multidomain solver driving the residual from
on one patch to
on five patches and fifty degrees of freedom, while
Table 16 shows that uniform single-domain refinement is erratic and ultimately diverges through round-off;
Figure 14 shows the layer-resolving node distribution and the efficiency comparison.
Table 13.
Example 5: Conditioning versus at .
Table 13.
Example 5: Conditioning versus at .
| | |
|---|
| 1 | 1.68 × | 1.49 × |
| 7.11 × | 2.66 × |
| 1.07 × | 4.97 × |
| 2.79 × | 2.78 × |
| 2.28 × | 3.51 × |
Table 14.
Example 5: Conditioning versus N at .
Table 14.
Example 5: Conditioning versus N at .
| N | | |
|---|
| 8 | 1.12 × | 1.14 × |
| 16 | 1.21 × | 1.21 × |
| 24 | 1.26 × | 1.25 × |
| 28 | 2.79 × | 2.78 × |
| 32 | 9.34 × | 7.98 × |
Table 15.
Example 5: Residual-adaptive multidomain ().
Table 15.
Example 5: Residual-adaptive multidomain ().
| Level | Patches | D.O.F. | |
|---|
| 0 | 1 | 10 | 2.39 × |
| 1 | 2 | 20 | 1.73 × |
| 2 | 4 | 40 | 3.47 × |
| 3 | 5 | 50 | 1.30 × |
Table 16.
Example 5: Uniform single domain.
Table 16.
Example 5: Uniform single domain.
| D.O.F. | |
|---|
| 11 | 2.34 × |
| 21 | 1.17 × |
| 31 | 2.10 × |
| 41 | 1.04 × |
| 51 | 8.71 × |
Remark 14 (Reduction)
. At , on a single domain, the problem is a standard single-term Caputo equation; the singular perturbation, the delay, and the multidomain adaptivity are the features that the bare quantum pseudo-spectral method of [45] does not address. Example 6 (Nonlinear fractional population model with memory clocks)
. On , solve the nonlinear hereditary population modelwith , , , , , , and constant history , where the memory term models a hereditary crowding pressure and the delayed term a maturation loss. The parameter choices are nondimensional scale choices intended to isolate the three memory clocks. The carrying capacity normalises population density, so the history level represents of carrying capacity. The intrinsic rate gives visible logistic recovery on the observation interval. The coefficient represents moderate hereditary crowding: accumulated past population reduces current growth without dominating the instantaneous logistic term. The delayed-loss coefficient and lag model a moderate maturation, harvesting, or feedback delay. These values are illustrative and are held fixed so that changes among the identity, logarithmic, and power clocks can be attributed to the memory clock rather than parameter recalibration. A biological application would require fitting , and to data and reporting parameter uncertainty.
There is no closed-form solution, so the bespoke Newton iteration, whose Jacobian carries the memory-product term
, certifies the result by its residual, and accuracy is assessed by self-convergence under three different memory clocks in
Table 17. The clock changes the dynamics measurably, and the iteration converges in five to seven steps in every case.
Figure 15 shows the trajectories under the three clocks together with the delayed trace
for the identity clock, which makes the maturation delay explicit, and
Figure 16 shows the self-convergence.
It is worth distinguishing the two accuracy measures, which quantify different things.
Table 17 reports the fixed-step self-convergence
, the change in the computed trajectory between two specific resolutions
and
, which is around
.
Figure 16 instead plots the running self-convergence
against a finer reference
as
N increases, so its vertical scale spans the whole decay from coarse to fine and is naturally larger at small
N; the two are therefore consistent rather than contradictory, the table being one slice of the curve.
Table 17.
Example 6: Fixed-step self-convergence and Newton steps for three memory clocks.
Table 17.
Example 6: Fixed-step self-convergence and Newton steps for three memory clocks.
| Memory Clock | | Newton Steps |
|---|
| 8.37 × | 6 |
| 2.39 × | 5 |
| 5.00 × | 7 |
Remark 15 (Reduction)
. Setting and with reduces (
27)
to a nonlinear logistic Caputo equation of the type treated at nodes in [45]; the hereditary crowding, the delayed loss, and the tunable memory clock are the extensions.