ctqwalk: Create a Continuous-time Quantum Walk

View source: R/ctqwalk.R

ctqwalkR Documentation

Create a Continuous-time Quantum Walk

Description

ctqwalk() creates a quantum walk object from a hamiltonian.

Usage

ctqwalk(hamiltonian, ...)

Arguments

hamiltonian

a Hermitian Matrix representing the Hamiltonian of the system.

...

further arguments passed on to spectral()

Value

A list with the walk related objects, i.e the hamiltonian and its spectral decomposition (See spectral() for further details)

See Also

spectral(), unitary_matrix.ctqwalk(), mixing_matrix.ctqwalk(), avg_matrix.ctqwalk(), gavg_matrix.ctqwalk()

Examples

# Creates a walk from the adjacency matrix of the graph P3.
ctqwalk(matrix(c(0,1,0,1,0,1,0,1,0), nrow=3))



qwalkr documentation built on Sept. 27, 2023, 9:09 a.m.