Add sparse representation support to cirq.DensePauliString
#5718
Labels
area/paulis
kind/feature-request
Describes new functionality
triage/accepted
A consensus emerged that this bug report, feature request, or other action should be worked on
Is your feature request related to a use case or problem? Please describe.
acting on qubits and containing different pauli strings as part of the paul sum will contain *
cirq.PauliString
drops identity gates by default and only stores non-identity terms. Therefore, a pauli sum hamiltonianAvg(#non-identity terms per pauli string)
different terms.However, if we want to represent the same Hamiltonian as a sum of dense pauli strings (gate version, which can be applied on any set of target qubits); the number of terms in the representation will scale as . For chemistry Hamiltonians; can be upto is at least ; therefore the dense pauli string representation will scale as or more; which is pretty bad. As an example:
1000
andDescribe the solution you'd like
We should provide a way to store a dense representation of dense pauli strings which ignore identity terms, similar to pauli strings; so it can easily scale for large Hamiltonians.
What is the urgency from your perspective for this issue? Is it blocking important work?
P2 - we should do it in the next couple of quarters
The text was updated successfully, but these errors were encountered: