exponential map of operators

132 views
Skip to first unread message

F. B.

unread,
May 6, 2013, 6:41:01 PM5/6/13
to sy...@googlegroups.com
Hi there!

The exponential map of the differential operator can be regarded as a translation operator, eg:

Exp( a * diff_x ) f( x ) = f( x + a )

This can be seen by Taylor expanding both sides.

Other kinds of operators generate different transformations.

What about adding this feature to the Operator object in the quantum module? It could be very useful to physics.

Stefan Krastanov

unread,
May 8, 2013, 11:06:57 AM5/8/13
to sy...@googlegroups.com
It would certainly be nice. If you have the time go on. If you need
any help just ask here or on a pull request.

F. B.

unread,
May 9, 2013, 7:51:33 AM5/9/13
to sy...@googlegroups.com
I know this problem is related to the exponential map between lie algebras and lie groups, do you have any reference on this issue?

By the way, I'm still pondering how to integrate quantum module's Operator with the vtensor in currently working on. Specifically, should qapply be applied automatically upon contraction?

Is it better to create a new module to deal with operators on tensors or integrate quantum's operators?

Partial derivative (and on differential manifolds also covariant derivative) should be represented as operators with a tensor index or just as class methods?

Stefan Krastanov

unread,
May 9, 2013, 8:26:39 AM5/9/13
to sy...@googlegroups.com
The `quantum` module reimplements a lot of stuff and it is in no way
connected to the tensor module, the diffgeom module, combinatorics,
matrix or any other module that is related to it in theory. If you
want them to work together you will have a lot of refactoring to do on
both sides.
> --
> 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+un...@googlegroups.com.
> To post to this group, send email to sy...@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.
>
>

F. B.

unread,
May 9, 2013, 2:08:21 PM5/9/13
to sy...@googlegroups.com
You're right, better keep things separate.

By the way, I added two new methods to my last commit to MultiArray in the valued tensor PR: applyfunc and diff.

Besides, I'm currently pondering how to add "diff" capabilities to valued tensors, see https://github.com/sympy/sympy/pull/2041#issuecomment-17679576

Aaron Meurer

unread,
May 9, 2013, 7:39:24 PM5/9/13
to sy...@googlegroups.com
I'm not sure he was suggesting to keep things separate. There is a lot of stuff in the quantum module that is purely mathematical that *should* be moved out into some separate submodule, and made to work with the other parts of SymPy. The quantum module could then just subclass these things and add their own physics conventions, printers, and so on.

Aaron Meurer


--

Stefan Krastanov

unread,
May 9, 2013, 7:52:45 PM5/9/13
to sy...@googlegroups.com
Sorry for being unclear. I do share Aaron's opinion.

F. B.

unread,
May 10, 2013, 8:14:25 AM5/10/13
to sy...@googlegroups.com
OK, well, the physics module indeed should not implement abstract mathematical stuff in its inside, I agree.

The point is, modern physics is highly dependent on indexed data, that's why I started the PR to add valued tensors.

I think that creating some mathematical modules could be very useful for the physics module, by name:
  • Lie groups and algebra, with both matrix representations and differential representations.
  • complete the valued tensor PR.
  • Generalize "diff" to act on abstract objects, create a "differential operator" object independent of the physics module.
Representations of Lie groups both as matrices and as differential operators are both used in physics, that's why I suggested the exponential map of an operator.

Regarding the "diff", I am currently considering to create a differentiation for indexed data, specifically, it would be very useful to derive a quantity with respect to an indexed variable (which would result in an indexed object).

I'm still not sure on the notation to implement such a "diff", but I'm pretty sure that such an operator is of paramount importance to the physics module.
Reply all
Reply to author
Forward
0 new messages