Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Condition for creating QuStateEvolution. #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

amitjamadagni
Copy link
Member

Currently there is no relation between the eq and init_state, we should not be able to create something on these lines

julia> QuStateEvolution(sigmax, statevec(1, FiniteBasis(3)), 0.:0.1:2*π, QuODE78())

as here the dimension of hamiltonian, here sigmax and dimension of initial state vector do not match. So this should give an error and the current PR aims at this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant