Devv2#4
Conversation
|
Nice work on this, I know it's not easy. Wrapping CompFunction is fiddly and the MRCPP side of it is genuinely confusing, and you got the hard part right: the bindings compile, the Things to fix The projectors hang with threads. A couple of things crash the interpreter outright. Add tests. There aren't any right now. I tested it on my end and it seems to work, but I'd like you to write them yourself: build it, project a Gaussian, check the integral, exercise add/dot/dagger and the accessors. We need the coverage in the repo regardless. Rebase and drop the notebooks. You branched before the notebooks PR went in, so the notebook commit here redoes a migration that's already on Run clang-format. There's a Things to think about How it fits with the rest. Right now this is only reachable as How CompFunction is actually meant to be used. This is the important one. I'll be honest, I don't fully understand yet how CompFunction is supposed to be used, and I think working that out is the most valuable thing you can do here. Before we lock down the API, think hard about the real use cases and add an example, ideally a notebook, that shows how someone is meant to use this, alongside the tests. That'll teach us a lot. In particular I expect it'll surface whether we need to give the user a way to set the metric: the Again, good job getting this working. This is a hard piece and you're most of the way there |
No description provided.