Skip to content

quantcore.matrix 2.0.0

Compare
Choose a tag to compare
@jtilly jtilly released this 17 Jun 16:47

2.0.0 - 2021-06-17

Breaking changes:

We renamed several public functions to make them private. These include functions in quantcore.matrix.benchmark that are unlikely to be used outside of this package as well as

  • quantcore.matrix.dense_matrix._matvec_helper
  • quantcore.matrix.sparse_matrix._matvec_helper
  • quantcore.matrix.split_matrix._prepare_out_array

Other changes:

  • We removed the dependency on sparse_dot_mkl. We now use scipy.sparse.csr_matvec instead of sparse_dot_mkl.dot_product_mkl on all platforms, because the former suffered from poor performance, especially on narrow problems. This also means that we removed the function quantcore.matrix.sparse_matrix._dot_product_maybe_mkl.
  • We updated the pre-commit hooks and made sure the code is line with the new hooks.