Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jerrychen97/operatorsoperator
An accidental offer to help one of my collaborators brought both plenty of troubles and meanwhile a new idea for creating my own calculator for some common operators especially in physics.
https://github.com/jerrychen97/operatorsoperator
Last synced: 24 days ago
JSON representation
An accidental offer to help one of my collaborators brought both plenty of troubles and meanwhile a new idea for creating my own calculator for some common operators especially in physics.
- Host: GitHub
- URL: https://github.com/jerrychen97/operatorsoperator
- Owner: JerryChen97
- Created: 2018-10-29T16:14:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T16:33:45.000Z (over 6 years ago)
- Last Synced: 2024-11-11T14:58:46.589Z (3 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OperatorsOperator
An accidental offer to help one of my collaborators brought both plenty of troubles and meanwhile a new idea for creating my own calculator for some common operators especially in physics.Considering the fact that I will be extremely busy recently, I am just going to create some demos and then suspend as always =。=
The first one should be of course the simplest commutative relationship between spatial coordinates and momentum operator, i.e. x and p, with the relationship
[x, p] := xp - px = i\hbar
For a less physical purpose and with more mathematical interpretation, this should be viewed equivalently as
[∂, x] = 1
which is quite easy to check.
And then here comes our problem: if you wish to treat something like ∂∂∂xxx so as to shift ∂ to the front like xxx∂∂∂, for some certain purposes to calculate some physical quantities, how can we get the final expression?Roughly a potential method is obviously to deal with this as a string manipulation problem, which is exactly I have done in my first demo.