fastdla.SparsePauliSum.switch_impl

classmethod SparsePauliSum.switch_impl(to)

Switch the implementation of operators.

The options are

  • ‘ref’: Reference implementation using numpy functions.

  • ‘fast’: Numba-based implementation.

Parameters:

to (str) – Name of the implementation to switch to.