NWChemEx / TensorWrapper

A type-erased wrapper around various tensor backends
https://nwchemex.github.io/TensorWrapper/
Apache License 2.0
0 stars 0 forks source link

Some suggestions for the overview design documentation #152

Closed twindus closed 1 year ago

twindus commented 1 year ago

Some suggestions and questions for the overview design document at https://github.com/NWChemEx-Project/TensorWrapper/edit/master/docs/source/developer/design/overview.rst

For setting up the tensor (line 72 and after): Won't someone need to know what tensor library or libraries that will be used underneath the covers? I realize that maybe we don't want the user to have to know about this, but like the runtime environment, this is probably something that the user might want to input if they have a specific library they want to use. Maybe it is part of something like the runtime in a crude way?

Line 133: I don't know what "logical" means here. I am guessing that it means just the basic specification of the tensor? Maybe a better term would be "physical"? - although I am not sure that it is better.

Line 174: I think I understand what you mean by these being out of scope in a general way. However spin, spatial, and permutational symmetry have to be representable in the API. So, are they really out of scope? I didn't see an immediate way to change the wording, but hopefully it is clear what I am getting at.

Lin 264: I thought that we were going to worry about tile sparsity, not element-wise sparsity. Am I missing something?

Line 288: The link didn't get translated properly. I wasn't sure how to make it work, so just note it here.

Lines 310 and 311: I don't understand the difference between distribution and distribution strategy.

Line 343: What are multi-process tensors?

Line 369: Define CSL in the terminology page and provide a link.

ryanmrichard commented 1 year ago

I'm working on changes now, but to quickly answer the respective points:

twindus commented 1 year ago

Thanks. I see what you are saying. For the spin, etc. in-scope or out-of-scope issue: probably just being more explicit about them being related to sparsity and symmetry will be enough to clarify it.