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
andqiskit
were removed cyclic_permutation
andrandom_circulant_gram
functions were renamedpure_to_mixed
was removed in favor ofvector_to_density_matrix
vector_to_density_matrix
was renamedinner_product
andoute_product
functions were removed
New Features
is_anti_hermitian
to check if a matrix is anti-hermitian was added inmatrix_props
, @tnemoz in #798- Functions that generate randomized matrices now allow a
seed
as input, @tnemoz in #842 random_orthonormal_basis
was added inrand
to generate a random orthonormal basis from the columns of a random unitary matrix, @purva-thakre in #821spark
added inmatrix_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
inmatrices
was renamed tocyclic_permutation_matrix
, @FabienGhd in #682random_circulant_gram
inrand
was renamed torandom_circulant_gram
, @FabienGhd in #682pure_to_mixed
was removed in favor ofvector_to_density_matrix
,vector_to_density_matrix
renamed toto_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 fromsetup.py
, @vprusso in #819- Deprecated usage of
csr_matrix
anddia_matrix
inperms/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
andoute_product
functions were removed in favor ofnp.vdot
andnp.outer
, @vprusso in #833
What's Changed
- Bump certifi from 2024.2.2 to 2024.7.4 by @dependabot in #660
- Bump urllib3 from 2.2.1 to 2.2.2 by @dependabot in #661
- Bump rustworkx from 0.15.0 to 0.15.1 by @dependabot in #662
- Bump setuptools from 70.0.0 to 70.3.0 by @dependabot in #663
- Bump qdldl from 0.1.7.post2 to 0.1.7.post4 by @dependabot in #664
- Bump ecos from 2.0.13 to 2.0.14 by @dependabot in #665
- Bump osqp from 0.6.4 to 0.6.7.post0 by @dependabot in #666
- Bump typing-extensions from 4.11.0 to 4.12.2 by @dependabot in #668
- Bump prompt-toolkit from 3.0.43 to 3.0.47 by @dependabot in #669
- Bump requests from 2.32.1 to 2.32.3 by @dependabot in #667
- Bump clarabel from 0.7.1 to 0.9.0 by @dependabot in #670
- Bump packaging from 24.0 to 24.1 by @dependabot in #672
- Bump coverage from 7.5.4 to 7.6.0 by @dependabot in #673
- Bump astroid from 3.1.0 to 3.2.3 by @dependabot in #674
- Adding additional test cases for more coverage. by @vprusso in #671
- Bump sphinx from 7.3.7 to 7.4.0 by @dependabot in #687
- Bump exceptiongroup from 1.2.1 to 1.2.2 by @dependabot in #686
- Rename Random Circulant Gram to Random Circulant Gram Matrix by @FabienGhd in #681
- Rename Cyclic Permutation to Cyclic Permutation Matrix by @FabienGhd in #682
- Bump ruff from 0.5.1 to 0.5.2 by @dependabot in #685
- Adding reference section to fix broken references. by @vprusso in #688
- Bump sphinx from 7.4.0 to 7.4.4 by @dependabot in #690
- Bump sphinx from 7.4.4 to 7.4.5 by @dependabot in #691
- Bump setuptools from 70.3.0 to 71.0.1 by @dependabot in #692
- Bump ruff from 0.5.2 to 0.5.3 by @dependabot in #695
- Bump setuptools from 71.0.1 to 71.0.3 by @dependabot in #694
- Bump sphinx from 7.4.5 to 7.4.6 by @dependabot in #693
- Bump sphinx-autoapi from 3.1.2 to 3.2.0 by @dependabot in #698
- Bump pure-eval from 0.2.2 to 0.2.3 by @dependabot in #699
- Bump setuptools from 71.0.3 to 71.1.0 by @dependabot in #700
- Bump mypy from 1.10.1 to 1.11.0 by @dependabot in #697
- Bump sphinxcontrib-htmlhelp from 2.0.5 to 2.0.6 by @dependabot in #705
- Bump astroid from 3.2.3 to 3.2.4 by @dependabot in #704
- Bump sphinx from 7.4.6 to 7.4.7 by @dependabot in #703
- Bump pytest from 8.2.2 to 8.3.1 by @dependabot in #702
- Bump ruff from 0.5.3 to 0.5.4 by @dependabot in #701
- Bump sphinxcontrib-qthelp from 1.0.7 to 1.0.8 by @dependabot in #706
- Bump sphinx-autoapi from 3.1.2 to 3.2.0 by @dependabot in #707
- Bump sympy from 1.13.0 to 1.13.1 by @dependabot in #708
- Bump sympy from 1.13.0 to 1.13.1 by @dependabot in #711
- Bump osqp from 0.6.7.post0 to 0.6.7.post1 by @dependabot in #710
- Bump sphinx-autoapi from 3.2.0 to 3.2.1 by @dependabot in #709
- Bump sphinx-autoapi from 3.2.0 to 3.2.1 by @dependabot in #712
- Bump ruff from 0.5.4 to 0.5.5 by @dependabot in #713
- Bump pytest from 8.3.1 to 8.3.2 by @dependabot in #714
- Bump sphinxcontrib-qthelp from 1.0.8 to 2.0.0 by @dependabot in #720
- Bump sphinxcontrib-applehelp from 1.0.8 to 2.0.0 by @dependabot in #715
- Bump sphinxcontrib-devhelp from 1.0.6 to 2.0.0 by @dependabot in #716
- Bump setuptools from 71.1.0 to 72.0.0 by @dependabot in #717
- Bump sphinxcontrib-htmlhelp from 2.0.6 to 2.1.0 by @dependabot in #718
- Bump sphinxcontrib-serializinghtml from 1.1.10 to 2.0.0 by @dependabot in #719
- Bump setuptools from 72.0.0 to 72.1.0 by @dependabot in #721
- Bump mypy from 1.11.0 to 1.11.1 by @dependabot in #722
- Bump ruff from 0.5.5 to 0.5.6 by @dependabot in #729
- Bump astroid from 3.2.4 to 3.3.0 by @dependabot in #728
- Bump pycodestyle from 2.12.0 to 2.12.1 by @dependabot in #727
- Bump coverage from 7.6.0 to 7.6.1 by @dependabot in #724
- Bump flake8 from 7.1.0 to 7.1.1 by @dependabot in #725
- Bump black from 24.4.2 to 24.8.0 by @dependabot in #726
- Bump myst-parser from 3.0.1 to 4.0.0 by @dependabot in #730
- Bump sphinx from 7.4.7 to 8.0.2 by @dependabot in #732
- Bump astroid from 3.3.0 to 3.3.1 by @dependabot in #734
- Bump pyyaml from 6.0.1 to 6.0.2 by @dependabot in #733
- Condense two nonnegative functions by @purva-thakre in #731
matrix_props
: Check if stochastic or doubly stochastic by @purva-thakre in #723- Bump alabaster from 0.7.16 to 1.0.0 by @dependabot in #736
- Bump more-itertools from 10.3.0 to 10.4.0 by @dependabot in #735
- Bump ruff from 0.5.6 to 0.5.7 by @dependabot in #738
- Bump babel from 2.15.0 to 2.16.0 by @dependabot in #739
- Bump qiskit from 1.1.1 to 1.1.2 by @dependabot in #742
- Bump astroid from 3.3.1 to 3.3.2 by @dependabot in #741
- Bump sympy from 1.13.1 to 1.13.2 by @dependabot in #740
- Bump sympy from 1.13.1 to 1.13.2 by @dependabot in #743
- Bump setuptools from 72.1.0 to 72.2.0 by @dependabot in #744
- Bump ruff from 0.5.7 to 0.6.0 by @dependabot in #746
- Bump qiskit from 1.1.2 to 1.2.0 by @dependabot in #745
- Bump cvxpy from 1.5.2 to 1.5.3 by @dependabot in #748
- Bump ruff from 0.6.0 to 0.6.1 by @dependabot in #747
- Bump setuptools from 72.2.0 to 73.0.0 by @dependabot in #749
- Bump setuptools from 73.0.0 to 73.0.1 by @dependabot in #751
- Bump scipy from 1.14.0 to 1.14.1 by @dependabot in #750
- Bump stevedore from 5.2.0 to 5.3.0 by @dependabot in #755
- Bump ruff from 0.6.1 to 0.6.2 by @dependabot in #756
- Upgrade numpy by @purva-thakre in #754
- Bump mypy from 1.11.1 to 1.11.2 by @dependabot in #758
- Bump scs from 3.2.6 to 3.2.7 by @dependabot in #757
- Bump pbr from 6.0.0 to 6.1.0 by @dependabot in #759
- Bump setuptools from 73.0.1 to 74.0.0 by @dependabot in #760
- Bump sphinx-autoapi from 3.2.1 to 3.3.0 by @dependabot in #761
- Bump ipython from 8.26.0 to 8.27.0 by @dependabot in #765
- Bump certifi from 2024.7.4 to 2024.8.30 by @dependabot in #764
- Bump ruff from 0.6.2 to 0.6.3 by @dependabot in #763
- Bump sphinx-autoapi from 3.2.1 to 3.3.0 by @dependabot in #762
- Bump sphinx-autoapi from 3.3.0 to 3.3.1 by @dependabot in #769
- Bump executing from 2.0.1 to 2.1.0 by @dependabot in #768
- Bump sphinx-autoapi from 3.3.0 to 3.3.1 by @dependabot in #770
- Bump setuptools from 74.0.0 to 74.1.0 by @dependabot in #771
- Bump setuptools from 74.1.0 to 74.1.1 by @dependabot in #773
- Bump setuptools from 74.1.1 to 74.1.2 by @dependabot in #774
- Bump more-itertools from 10.4.0 to 10.5.0 by @dependabot in #776
- Bump ruff from 0.6.3 to 0.6.4 by @dependabot in #775
- Bump numpy from 2.0.0 to 2.1.1 by @dependabot in #772
- Bump platformdirs from 4.2.2 to 4.3.2 by @dependabot in #777
- Bump mdit-py-plugins from 0.4.1 to 0.4.2 by @dependabot in #778
- Bump pytest from 8.3.2 to 8.3.3 by @dependabot in #779
- Bump sphinxcontrib-bibtex from 2.6.2 to 2.6.3 by @dependabot in #783
- Bump idna from 3.8 to 3.10 by @dependabot in #788
- Bump platformdirs from 4.3.2 to 4.3.3 by @dependabot in #787
- Bump ruff from 0.6.4 to 0.6.5 by @dependabot in #786
- Bump setuptools from 74.1.2 to 75.1.0 by @dependabot in #789
- Bump platformdirs from 4.3.3 to 4.3.6 by @dependabot in #790
- Bump sympy from 1.13.2 to 1.13.3 by @dependabot in #791
- Bump sphinxcontrib-bibtex from 2.6.2 to 2.6.3 by @dependabot in #784
- Bump urllib3 from 2.2.2 to 2.2.3 by @dependabot in #781
- Bump qiskit from 1.2.0 to 1.2.1 by @dependabot in #782
- Bump sympy from 1.13.2 to 1.13.3 by @dependabot in #794
- Bump ruff from 0.6.5 to 0.6.6 by @dependabot in #793
- Bump ruff from 0.6.6 to 0.6.7 by @dependabot in #801
- Bump astroid from 3.3.2 to 3.3.3 by @dependabot in #799
- Bump qiskit from 1.2.1 to 1.2.2 by @dependabot in #800
- Bump astroid from 3.3.3 to 3.3.4 by @dependabot in #802
- Added is_anti_hermitian.py by @tnemoz in #798
- Removing cvx_kron unused function. by @vprusso in #795
- Bump prompt-toolkit from 3.0.47 to 3.0.48 by @dependabot in #805
- Bump sphinx-autoapi from 3.3.1 to 3.3.2 by @dependabot in #804
- Bump ruff from 0.6.7 to 0.6.8 by @dependabot in #807
- Bump sphinx-autoapi from 3.3.1 to 3.3.2 by @dependabot in #806
- Bump dill from 0.3.8 to 0.3.9 by @dependabot in #808
- Fixing BCS conversion function. by @vprusso in #811
- Ignore APS links in linkcheck by @purva-thakre in #815
- Bump symengine from 0.11.0 to 0.13.0 by @dependabot in #812
- Remove csr_matrix and dia_matrix by @purva-thakre in #816
- Replacing '*' with '@' where appropriate. by @vprusso in #797
- Removing scikit-image from setup.py. by @vprusso in #819
- Adding spark function and tests to matrix props. by @vprusso in #780
- Bump tomli from 2.0.1 to 2.0.2 by @dependabot in #822
- Bump ipython from 8.27.0 to 8.28.0 by @dependabot in #823
- Fixing multiplication operator warning for extended nonlocal games. by @vprusso in #824
- Random orthonormal basis in matrix_props by @purva-thakre in #821
- Bump qiskit from 1.2.2 to 1.2.4 by @dependabot in #825
- Adding again. Codecov was taking too long on another branch. by @vprusso in #828
- typo in docs, updated intro_tutorial.rst by @Shivansh20128 in #829
- Initial check to see if adding url field breaks things. by @vprusso in #827
- Bump astroid from 3.3.4 to 3.3.5 by @dependabot in #838
- Bump ruff from 0.6.8 to 0.6.9 by @dependabot in #840
- Bump sphinx-rtd-theme from 2.0.0 to 3.0.0 by @dependabot in #841
- Bump numpy from 2.1.1 to 2.1.2 by @dependabot in #839
- Changing from wagtail to rtd theme. by @vprusso in #836
- Bump charset-normalizer from 3.3.2 to 3.4.0 by @dependabot in #846
- Bump markupsafe from 3.0.0 to 3.0.1 by @dependabot in #845
- Bump distlib from 0.3.8 to 0.3.9 by @dependabot in #850
- Bump coverage from 7.6.1 to 7.6.2 by @dependabot in #851
- Bump osqp from 0.6.7.post1 to 0.6.7.post3 by @dependabot in #855
- Bump sphinx from 8.0.2 to 8.1.0 by @dependabot in #854
- Fast exponentiation for tensor product by @tnemoz in #809
- Replacing "pure_to_mixed" with "vector_to_density_matrix" and then renaming to "to_density_matrix" by @Shivansh20128 in #853
- Changelog v1.1.0 by @purva-thakre in #852
- Removed qiskit as a dependency and added seeds to randomness-related functions by @tnemoz in #842
- Master by @purva-thakre in #856
New Contributors
- @FabienGhd made their first contribution in #681
- @Shivansh20128 made their first contribution in #829
Full Changelog: v1.0.9...v1.1.0