Imports the initial state of the quantum walk from a file.
Parameters: |
|
---|---|
Returns: | : this creates a PETSc vector containing the initial state, accessed via Graph.psi0. |
Return type: | petsc4py.PETSc.Vec() |
Warning
The number of elements in the imported input state vector must match the number of nodes the 1P CTQW object is initialized with.