Skip to contents

The Generalized Average Mixing Matrix of a Quantum Walk

Usage

gavg_matrix(object, ...)

Arguments

object

a representation of the quantum walk.

...

further arguments passed to or from other methods.

Value

The generalized average mixing matrix.

Examples

w <- ctqwalk(matrix(c(0,1,0,1,0,1,0,1,0), nrow=3))

gavg_matrix(w, rnorm(100)) #-> gavg_matrix.ctqwalk(...)
#>           [,1]      [,2]      [,3]
#> [1,] 0.5372430 0.2420682 0.2206888
#> [2,] 0.2420682 0.5158636 0.2420682
#> [3,] 0.2206888 0.2420682 0.5372430