Open albi3ro opened 2 weeks ago
From another similar issue, I suppose here qml.math.quantum.reduce_statevector
bruteforcely calculates the full dm by tensorproduct, which in this case somehow leads to a tensor of 33 legs violating the so called np.MAXDIM
Qiskit/qiskit#7700 (comment) From another similar issue, I suppose here
qml.math.quantum.reduce_statevector
bruteforcely calculates the full dm by tensorproduct, which in this case somehow leads to a tensor of 33 legs violating the so called np.MAXDIM
If this is true cause, I guess we won't have a quick fix until a better rdm calculator, e.g. grouping some sites together in advance.
Expected behavior
I expect to be able to manipulate larger density matrices, both reducing them and computing qinfo quantities from them.
Actual behavior
Einsum cannot handle that many many subscripts.
Additional information
No response
Source code
Tracebacks
System information
Existing GitHub issues