Added
- Add `utils.extmath.randomized_svd` providing a fast approximate truncated SVD
Changed
- `MPArray.compress`: `method='var'` requires `num_sweeps`
- Rename `MPArray.bdims` -> `MPArray.ranks`
- Rename `MPArray.pdims` -> `MPArray.shape`
- Rename `MPArray.plegs` -> `MPArray.ndims`
- Rename `MPArray.normal_form` -> `MPArray.canonical_form`
- Rename `MPArray.normalize` -> `MPArray.canonicalize`
- Rename `MPArray.get_phys` -> `MPArray.get`
- Rename `MPArray.paxis_iter` -> `MPArray.axis_iter`
- Rename `MPArray.pleg2bleg` -> `MPArray.leg2vleg`
- Rename `MPArray.dims` -> `MPArray.lt.shape`
- Rename `LocalTensors.normal_form` -> `LocalTensors.canonical_form`
- Rename `mparray.full_bdim` -> `mparray.full_rank`
- Rename `mparray.outer` -> `mparray.chain`
- Rename `mparray.louter` -> `mparray.localouter`
- Rename `mparray.linalg.mineig` -> `mparray.linalg.eig`
- Rename `mparray.linalg.mineig_sum` -> `mparray.linalg.eig_sum`
- Rename `mparray.tools` -> `mparray.utils`
- Rename `mparray.tools.check_nonneg_trunc` -> `mparray.utils.pmf.project_nonneg`
- Rename `mparray.tools.check_pmf` -> `mparray.utils.pmf.project_pmf`
- Rename `mparray.linalg.mineig` -> `mparray.linalg.eig`
- `mparray.linalg.eig`:
- Rename parameter `max_num_sweeps` -> `num_sweeps` (now required)
- Rename parameter `minimize_sites` -> `var_sites`
- Change order of parameters
- Require `num_sweeps` and one of `startvec` and `startvec_rank`
Removed
- Remove `MPArray.bdim`, use `max(mpa.ranks)` instead
- Remove `mpo_to_global`, use `to_array_global` instead
- Remove `mpnum.tools.verify_real_nonnegative`, use `mpnum.utils.pmf.project_nonneg` instead
Deprecated
- Deprecate support for Python 3.3