On Tue, Apr 5, 2011 at 4:16 PM, Aaron Meurer <asmeu...@gmail.com> wrote: > On Tue, Apr 5, 2011 at 4:51 AM, krastanov.ste...@gmail.com > <krastanov.ste...@gmail.com> wrote: >> Hi all, >> >> I would like to know what is the agreed upon way to treat spin 1/2 systems >> in physics.quantum? >> >> I would like to write a shorthand class for those states (a subclass of >> J?Ket maybe), but: >> - If it is just a subclass what stops me from writing my_spin_state.j = >> "something different than 1/2" (maybe I can write a setter that sends and >> error on such requests)? >> - More generally - is subclassing from J?Ket the right solution here? >> - What about any type of two state systems that are not necessarily spin >> states. Should a special class be created for those? >> >> On a similar topic - I started tinkering with that code because I needed >> nice printing for those states. That led to this pull request: >> https://github.com/sympy/sympy/pull/186. I think it is ready, but I am not >> aware if in your project is considered impolite to poke developers for a >> review, that is why I have not raised a question about it. Should I poke you >> in the future ;) ? > > As long as you aren't obnoxious (i.e., it isn't inherently impolite). > > We require that any patch be reviewed, which requires work from us to > get your patch in. But sometimes we get bogged down in other things, > and forget, or we don't forget but just haven't gotten to it yet. But > of course, it's impossible for you to know which is the case, so it is > OK for you to remind us in case we did forget, especially if it has > been a while with no comments. > > Aaron Meurer > >> >> Regards >> Stefan >>
By the way, GSoC students who haven't had a patch pushed in yet poke us really hard! Aaron Meurer -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.