Adrian Roman
Adrian Roman
I tried something like this for computing the size needed for SVD: ``` for (int64_t leftVirtualExtent = 2; leftVirtualExtent
A solution that might or might not work for all cases was to limit the number of configurations checked, like this: For SVD: ``` const int64_t startLimit = std::max(2, maxVirtualExtent...
Thank you, you are right, among the configurations generated there were unphysical ones. I did the changes to check as in your description and it seems that it works ok...
This is an example of failure for the attempt to get the needed memory at runtime, for a simple case, one qubit gate. It's about a contraction between the site...
I'm not sure what you mean by 'pointer address'... the same code - but without the cutensornetWorkspaceComputeContractionSizes & cutensornetWorkspaceGetMemorySize - works fine, so I suppose the rest of it is...
Mystery solved! It was me, I was passing the wrong descriptor to `cutensornetWorkspaceGetMemorySize`. Now it works well (although I'm not sure those memory computations while executing are needed, memory reallocations...