-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic Expression Support #46
Comments
I think right now this is not easily possible. Note that Having said this, I think you might want to have a look at @jrevels QuDirac package. He might also have an idea regarding the basis types ... |
And about storing a state with expression of basis.what about a subtype of QuArray that have a field to store Functions. Cause not only expressions should be store. Sometimes a variable points to a solver with specific parameters #pretend this to be some kind of numerical solver
function state(a,b,c)
return sin(a*b*c)
end and to store a state like 1/sqrt(2)*state(1,2,3)+1/sqrt(2)*state(2,3,4) a type that can really stores a function is needed.And specific expressions can also be stored as function,for example function state_of_an_oscillator(n)
return supose_this_is_an_expression()
end I wrote a simple one in https://github.com/Roger-luo/AdiaRoll.jl/blob/master/src/base.jl |
You can do this with QuDirac.jl, but that package only works with Julia v0.3 and won't be updated until Julia v0.5 releases. |
Will QuArray support storing base's expression? or a new subtype of QuArray?
my problem is,for example:
to store a specific state like
the QuArray type can store it like this at present
however I hope the coeffs can be isolated from the base' expressions
The text was updated successfully, but these errors were encountered: