gavg_matrix.ctqwalk {qwalkr} | R Documentation |
The Generalized Average Mixing Matrix of a Continuous-Time Quantum Walk
Description
The Generalized Average Mixing Matrix of a Continuous-Time Quantum Walk
Usage
## S3 method for class 'ctqwalk'
gavg_matrix(object, R, ...)
Arguments
object |
a representation of the quantum walk. |
R |
samples from the random variable |
... |
further arguments passed to or from other methods. |
Details
Let be the mixing matrix of the quantum walk and
a random variable
with associated probability density function
. Then the generalized average mixing
matrix under
is defined as
Value
gavg_matrix()
returns the generalized average mixing matrix
as a square matrix of the same order as the walk.
See Also
Examples
walk <- ctqwalk(matrix(c(0,1,0,1,0,1,0,1,0), nrow=3))
# Return the average mixing matrix under a Standard Gaussian distribution
gavg_matrix(walk, rnorm(1000))
[Package qwalkr version 0.1.0 Index]