Skip to content

toqito-v1.1.0

Latest
Compare
Choose a tag to compare
@vprusso vprusso released this 11 Oct 19:21
· 154 commits to master since this release

Many thanks to first-time contributors @Shivansh20128 and @FabienGhd, as well as returning contributor @tnemoz, for participating in this milestone.

Highlights

  • List of new features: generate random orthonormal basis, compute matrix spark, checks to verify a matrix is anti-hermitian, doubly stochastic, stochastic
  • Tensor products now utilize fast exponentiation
  • Randomness related functions employ seed
  • Documentation employs a different theme
  • toqito is compatible with Numpy 2.0, dependencies for scikit-image and qiskit were removed
  • cyclic_permutation and random_circulant_gram functions were renamed
  • pure_to_mixed was removed in favor of vector_to_density_matrix
  • vector_to_density_matrix was renamed
  • inner_product and oute_product functions were removed

New Features

  • is_anti_hermitian to check if a matrix is anti-hermitian was added in matrix_props, @tnemoz in #798
  • Functions that generate randomized matrices now allow a seed as input, @tnemoz in #842
  • random_orthonormal_basis was added in rand to generate a random orthonormal basis from the columns of a random unitary matrix, @purva-thakre in #821
  • spark added in matrix_props helps compute the spark of a matrix, @vprusso in #780
  • Checks to verify if a matrix is stochastic or doubly stochastic were added in matrix_props, @purva-thakre in #723 and #723

Other Changes

  • cyclic_permutation in matrices was renamed to cyclic_permutation_matrix, @FabienGhd in #682
  • random_circulant_gram in rand was renamed to random_circulant_gram, @FabienGhd in #682
  • pure_to_mixed was removed in favor of vector_to_density_matrix, vector_to_density_matrix renamed to to_density_matrix, @Shivansh20128 in #853
  • Tensor products now utilize fast exponentiation, @tnemoz in #809
  • Documentation employs a different theme, search inside documentation is also fixed, @vprusso and @purva-thakre in #836
  • toqito is compatible with Numpy 2.0, @purva-thakre in #754
  • Infix operator replaces instances of * for matrix multiplication, @vprusso in #797
  • scikit-image was removed from setup.py, @vprusso in #819
  • Deprecated usage of csr_matrix and dia_matrix in perms/permute_systems was removed, @purva-thakre in #816
  • BCS conversion error for upper and lower bounds on the quantum value was corrected, @vprusso in #811
  • Unused cvx_kron function was removed, @vprusso in #795
  • inner_product and oute_product functions were removed in favor of np.vdot and np.outer, @vprusso in #833

What's Changed

New Contributors

Full Changelog: v1.0.9...v1.1.0