Since you are taking about inner products, you might look at generalizing
some of the code in the quantum module so that it just uses the vector
module. Some notes:

- the quantum module uses infinite dimensional vector spaces, so it will
need to work more symbolically than just rewriting everything as matrices.
But you can still abstract away a lot of code this way. I haven't read your
proposal in depth, so this may not be within its scope, but I would
encourage you to consider it.

- physicists represent inner products different from mathematicians. They
use bras and kets, and more importantly, the conjugation convention is
reversed. So the base classes would need to be ignorant of things like
this, so that the main SymPy subclass can use the standard math convention
and the physics subclass can use the physics convention.

By the way, real vector spaces and complex vector spaces are fundamentally
different. So far you seem to be using only real, since I haven't noticed
any mention of conjugation. In general, you can actually use any field, but
that is probably too algebraicmformwhat you are trying to implement.

Aaron Meurer


On Friday, April 26, 2013, Prasoon Shukla wrote:

> Also, I have added the proposal to the melange portal. Here:
>
> http://www.google-melange.com/gsoc/proposal/review/google/gsoc2013/prasoon2211/1
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+unsubscr...@googlegroups.com <javascript:_e({}, 'cvml',
> 'sympy%2bunsubscr...@googlegroups.com');>.
> To post to this group, send email to sympy@googlegroups.com<javascript:_e({}, 
> 'cvml', 'sympy@googlegroups.com');>
> .
> Visit this group at http://groups.google.com/group/sympy?hl=en-US.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to