The trace of the average mixing matrix of a quantum walk measures the "laziness" of the walk: the higher the trace, the more likely that the walker returns home in the long run. In this paper, we develop tools to study this graph invariant arising from Laplacian quantum walks.
It is known that the complete graph
Kn is the laziest connected graph on
n vertices. Using our machinery, we show that the star
Sn is the second laziest connected graph on
n vertices (and hence the laziest tree on
n vertices), the complete multipartite graph
Kn−2,1,1 is the third laziest connected graph on
n vertices, and the double star
DS(n−3,1) is the second laziest tree on
n vertices. We also show that on the same number of vertices, more unbalanced double stars are lazier.
The probabilistic nature of prevalent primality tests, such as Miller-Rabin, presents a fundamental limitation where certainty is achieved only asymptotically. This study proposes a deterministic alternative rooted in the non-Archimedean geometry of p-adic numbers, specifically leveraging the spectral and dynamic properties of quantum walks on Bruhat-Tits trees. By modeling prime and composite numbers as distinct topological structures—regular trees for primes and Cartesian product graphs for composites—we demonstrate that their quantum dynamic signatures are fundamentally different. Our methodology combines a rigorous construction of the graph Laplacian for these spaces with a continuous-time quantum walk simulation. Analysis reveals that while both structures exhibit a robust, non-zero spectral gap (
λ2≈0.0968), their dynamic responses diverge: quantum walks on prime trees exhibit localization, whereas walks on composite product spaces lead to near-maximal delocalization across the graph (Participation Ratio
≈11.97). This binary dynamic behavior—localization versus delocalization—serves as a deterministic signal for primality. Furthermore, multi-base triangulation across
p=2,3,5 yields a predictive correlation of
R2=0.998, confirming the robustness of the underlying metric. These findings establish a framework for a novel class of deterministic primality tests, relying on dynamic signatures rather than static spectral properties.
In this paper, we consider the time averaged distribution of discrete time quantum walks on the glued trees. In order to analyze the walks on the glued trees, we consider a reduction to the walks on path graphs. Using a spectral analysis of the Jacobi matrices defined by the corresponding random walks on the path graphs, we have a spectral decomposition of the time evolution operator of the quantum walks. We find significant contributions of the eigenvalues, ±1, of the Jacobi matrices to the time averaged limit distribution of the quantum walks. As a consequence, we obtain the lower bounds of the time averaged distribution.