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 RR (For performance, it is recommended at most 10000 samples).

...

further arguments passed to or from other methods.

Details

Let M(t)M(t) be the mixing matrix of the quantum walk and RR a random variable with associated probability density function fR(t)f_R(t). Then the generalized average mixing matrix under RR is defined as

M^R:=E[M(R)]=M(t)fR(t)dt\widehat{M}_R := \mathbb{E}[M(R)] = \int_{-\infty}^{\infty} M(t)f_R(t)\textrm{d}t

Value

gavg_matrix() returns the generalized average mixing matrix as a square matrix of the same order as the walk.

See Also

ctqwalk(), gavg_matrix()

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]