Skip to content

Support sparse matrices in LocalOperator

Vicentini Filippo requested to merge pv/sparse into master

Created by: PhilipVinc

This PR significantly speeds up the construction of LocalOperators.

TODO:

  • Add logic to _setup to support sparse matrices (that converts the symbolic representation of LocaLoperators to our internal one)
  • Maybe convert all operator.spin.sigmax/y/z to use sparse matrices internally.
  • tests

I would need someone to bring this to the finish line.

Merge request reports