You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For nqubit=4 the script works well. To confirm this, set nqubit=4 and run "VQLS_github.py"
For nqubit=8 the script gets hung on line 173 at "PauliExpectation(group_paulis=False).convert(measurable_expression)"
Digging into the "PauliExpectation" source code, I find that it is getting hung on the line "pauli_obsv = operator.primitive.to_pauli_op(massive=False)" where it is converting the operator to Pauli matrices.
My questions are,
Why does it take so long to convert to Pauli matrices for 8 qubits? An 8 qubit dimension matrix has size 256x256 which is not very large.
How can I speed this up so that it is practical to run? Note that my circuit batch size is 32 for 8 qubits.
The text was updated successfully, but these errors were encountered:
For nqubit=4 the script works well. To confirm this, set nqubit=4 and run "VQLS_github.py"
For nqubit=8 the script gets hung on line 173 at "PauliExpectation(group_paulis=False).convert(measurable_expression)"
Digging into the "PauliExpectation" source code, I find that it is getting hung on the line "pauli_obsv = operator.primitive.to_pauli_op(massive=False)" where it is converting the operator to Pauli matrices.
My questions are,
The text was updated successfully, but these errors were encountered: