- 31 May, 2022 1 commit
-
-
Christoph Groth authored
-
- 30 May, 2022 1 commit
-
-
Christoph Groth authored
Sympy used to implicitly cast Symbol to Function but stopped in v1.10. Our tests (but not code) relied on the casting behavior, and here we fix this ambiguity.
-
- 01 Apr, 2022 1 commit
-
-
Christoph Groth authored
-
- 30 Mar, 2022 3 commits
-
-
Christoph Groth authored
-
Christoph Groth authored
-
Christoph Groth authored
-
- 24 Mar, 2022 1 commit
-
-
Bas Nijholt authored
See - https://github.com/scipy/scipy/pull/15220 - https://github.com/scipy/scipy/issues/14360 Currently, it gives the following error message: ``` --------------------------------------------------------------------------- ImportError Traceback (most recent call last) Input In [29], in <module> ----> 1 from scipy.sparse.linalg import linsolve ImportError: cannot import name 'linsolve' from 'scipy.sparse.linalg' (/nfshome/basnijholt/mambaforge/envs/qms-lab-20220224-main/lib/python3.9/site-packages/scipy/sparse/linalg/__init__.py) ``` With this change, the following warning is emitted: ``` /tmp/scratch/basnijholt/ipykernel_59547/2794395227.py:1: DeprecationWarning: The module `scipy.sparse.linalg.dsolve.linsolve` is deprecated. All public names must be imported directly from the `scipy.sparse.linalg` namespace. from scipy.sparse.linalg.dsolve import linsolve ``` The following gives no warning: ``` from scipy.sparse.linalg._dsolve import linsolve ``` However, we should reconsider using private features.
-
- 24 Jun, 2021 1 commit
-
-
Viacheslav Ostroukh authored
-
- 22 Jun, 2021 2 commits
-
-
Viacheslav Ostroukh authored
Fix Numpy-related deprecation warnings See merge request !397
-
Closes #386
-
- 21 Jun, 2021 4 commits
-
-
Viacheslav Ostroukh authored
-
Viacheslav Ostroukh authored
-
Viacheslav Ostroukh authored
Sympy 1.7 broke alias `sympy.numbers` and `sympy.core.numbers` should be used instead. Second alias, however, can't be used in eariler Sympy version. This fix uses one of them, dependent on what attribute is present.
-
Viacheslav Ostroukh authored
Backport Matplotlib fixes from master See merge request !395
-
- 18 Jun, 2021 8 commits
-
-
`renderer` argument of mplot3d's `do_3d_projection()` is deprecated in Matplotlib 3.4. This commit switches from using (also deprecated) `renderer.M` to `self.axes.M`. A warning about `renderer` being deprecated is still emitted, but we still need to keep `renderer=None` statements for reverse compatibility.
-
Viacheslav Ostroukh authored
The issue is in Matplotlib. This is a temporary solution before [1] is merged. Fixes #407. [1] https://github.com/matplotlib/matplotlib/pull/20416
-
Viacheslav Ostroukh authored
-
Viacheslav Ostroukh authored
-
Viacheslav Ostroukh authored
Improvements in documentation automated build See merge request !391
-
Viacheslav Ostroukh authored
Sphinx-4.0 fails to correctly process attributes docstrings/doc comments. Using unreleased Sphinx-4.1 will allow to properly document class attributes, escpecially it is benefitial in the case of documenting inherited attributes.
-
Viacheslav Ostroukh authored
Napoleon Sphinx extension seems to be a drop-in replacement, which handles attributes' documentation better.
-
Viacheslav Ostroukh authored
-
- 17 Jun, 2021 9 commits
-
-
Viacheslav Ostroukh authored
Transpose array-like in herm_conj See merge request !387
-
Viacheslav Ostroukh authored
If value passed to `herm_conj()` function can't be conjugated as an array or a number, attempt to convert it to a tinyarray is performed. In that way array-like list of lists/tuples can also be conjugated correctly. Fixes #406
-
Viacheslav Ostroukh authored
If onsite/hopping value was supplied to the builder as array-like instead of proper array, Hamiltonian could be generated silently without any Hermitian conjugation, if required. To expose this, `test_builder.py::test_hermitian_conjugation` is parametrized with different types of values to ensure that Numpy arrays, tinyarrays, lists and tuples are all conjugated properly. See issue #406.
-
Anton Akhmerov authored
-
Viacheslav Ostroukh authored
Merge CI fixes from master See merge request !392
-
-
Viacheslav Ostroukh authored
This is done instead of picking all changes that were commited to master and not reflected in stable. Current master revision is 8a6d320b.
-
-
Anton Akhmerov authored
Clean up linear algebra (related to modes) See merge request !389
-
- 15 Jun, 2021 4 commits
-
-
Anton Akhmerov authored
-
Anton Akhmerov authored
-
Anton Akhmerov authored
-
Anton Akhmerov authored
-
- 14 Jun, 2021 2 commits
-
-
Anton Akhmerov authored
-
Viacheslav Ostroukh authored
`renderer` argument of mplot3d's `do_3d_projection()` is deprecated in Matplotlib 3.4. This commit switches from using (also deprecated) `renderer.M` to `self.axes.M`. A warning about `renderer` being deprecated is still emitted, but we still need to keep `renderer=None` statements for reverse compatibility.
-
- 11 Jun, 2021 1 commit
-
-
Viacheslav Ostroukh authored
The issue is in Matplotlib. This is a temporary solution before [1] is merged. Fixes #407. [1] https://github.com/matplotlib/matplotlib/pull/20416
-
- 18 Mar, 2021 1 commit
-
-
Viacheslav Ostroukh authored
Merge request !370 was supposed to make Python 3.7 minimal required version, but in some places 3.6 sneaked from attention. This commit fixes that.
-
- 03 Mar, 2021 1 commit
-
-
Viacheslav Ostroukh authored
In many cases bug [1] causes `scipy.sparse.coo_matrix` to cast complex matrix to float. [1] https://github.com/scipy/scipy/issues/13585
-