Skip to contents

The Average Mixing Matrix of a Quantum Walk

Usage

avg_matrix(object, ...)

Arguments

object

a representation of the quantum walk.

...

further arguments passed to or from other methods.

Value

The average mixing matrix.

Examples

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

avg_matrix(w) #-> avg_matrix.ctqwalk(...)
#>       [,1] [,2]  [,3]
#> [1,] 0.375 0.25 0.375
#> [2,] 0.250 0.50 0.250
#> [3,] 0.375 0.25 0.375