ngnrsaa/qflex

Allocate reading scratch space based on contraction, not on depth.

benjaminvillalonga opened this issue · 1 comments

Allocate reading scratch space based on contraction, not on depth.

Right now scratch space used in reading-from-file functions is allocated based on the depth of the circuit. It should be allocated based on the max rank of each qubit before contraction with neighbors.