Hi!

On Mon, Oct 5, 2009 at 12:15 PM, jegerjensen <jensen.oyv...@gmail.com> wrote:
>
> Hi all,
>
> I have implemented a framework for working with fermionic second
> quantization operators with Sympy and I'd like to submit patches for
> incorporation in the project.
>
> I have tried to reuse the existing Bosonic framework when applicable,
> and have ended up with code that reproduces a lot of known equations,
> specifically in the Coupled Cluster formalism.

This is absolutely awesome! We worked on the current one in sympy with
Brian about a year ago, but didn't have time to continue on it. I am
eager to play with yours. :)

>
> Before submitting, I wanted to ask what you consider the best approach
> to organizing patches.  I assume there is no point in submitting all
> 60+ commits I've got in my development branch, so I'm considering to
> just break it up in two patches:
>
> 1. Refactoring of the existing Bosonic framework.
> 2. The entire Fermionic framework in one patch.  (including tests and
> an example)
>
> Is this reasonable?  Or should I break it up into lots of smaller
> commits?

It depends if you think the history of your 60 patches should be in
sympy or not, e.g. if it is valuable (for debugging, learning how it
works, etc.).

The two patches that you proposed are definitely one of a good ways of
doing that. I am at IRC (#sympy at freenode) in case you need help
with the patches.

Ondrej

P.S. I have been working quite a lot on my QM notes here:

http://certik.github.com/theoretical-physics/book/src/qft.html

and we were also thinking a lot with Brian lately how to do the
nonrelativistic limit of the relativistic formalism and obtain the
known formulas from the second quantized nonrelativistic QM. And we
both realied it'd be really cool to teach sympy do some (all?) of the
manipulations.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-patches" group.
To post to this group, send email to sympy-patches@googlegroups.com
To unsubscribe from this group, send email to 
sympy-patches+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sympy-patches?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to