Accepting request 1061175 from home:bnavigator:branches:devel:languages:python:numeric

- Update to v1.4.2
  * no relevant code changes for openSUSE users
- Release v1.4.1
  ## Enhancements
  * unify much functionality from 1D, 2D and 3D into general
    arbitrary geometry class
    quimb.tensor.tensor_arbgeom.TensorNetworkGen
  * refactor contraction, allowing using cotengra directly
  * add visualize() for visualizing the actual data entries of an
    arbitrarily high dimensional tensor
  * add Gate class for more robust tracking and manipulation of
    gates in quantum Circuit simulation
  * tweak TN drawing style and layout
  * tweak default gauging options of compressed contraction
  * add compute_hierarchical_grouping()
  * add as_network()
  * add inds_size()
  * add get_hyperinds()
  * add outer_size()
  * improve group_inds()
  * refactor tensor decompositiona and ‘isometrization’ methods
  * begin supporting pytree specifications in TNOptimizer, e.g. for
    constants
  * add experimental submodule for new sharing features
  * register tensor and tensor network objects with jax pytree
    interface (PR150)
  * update CI infrastructure
  ## Bug fixes:
  * fix force atlas 2 and weight_attr bug (GH126)
  * allow unpickling of PTensor objects (GH128, PR131)

OBS-URL: https://build.opensuse.org/request/show/1061175
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-quimb?expand=0&rev=9
This commit is contained in:
Matej Cepl 2023-01-27 15:01:00 +00:00 committed by Git OBS Bridge
parent 79ace239e5
commit 8cca3f8a82
4 changed files with 85 additions and 33 deletions

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Sat Jan 14 11:35:41 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to v1.4.2
* no relevant code changes for openSUSE users
- Release v1.4.1
## Enhancements
* unify much functionality from 1D, 2D and 3D into general
arbitrary geometry class
quimb.tensor.tensor_arbgeom.TensorNetworkGen
* refactor contraction, allowing using cotengra directly
* add visualize() for visualizing the actual data entries of an
arbitrarily high dimensional tensor
* add Gate class for more robust tracking and manipulation of
gates in quantum Circuit simulation
* tweak TN drawing style and layout
* tweak default gauging options of compressed contraction
* add compute_hierarchical_grouping()
* add as_network()
* add inds_size()
* add get_hyperinds()
* add outer_size()
* improve group_inds()
* refactor tensor decompositiona and isometrization methods
* begin supporting pytree specifications in TNOptimizer, e.g. for
constants
* add experimental submodule for new sharing features
* register tensor and tensor network objects with jax pytree
interface (PR150)
* update CI infrastructure
## Bug fixes:
* fix force atlas 2 and weight_attr bug (GH126)
* allow unpickling of PTensor objects (GH128, PR131)
- Release v1.4.0
## Enhancements
* Add 2D tensor network support and algorithms
* Add 3D tensor network infrastructure
* Add arbitrary geometry quantum state infrastructure
* Many changes to TNOptimizer
* Many changes to TN drawing
* Many changes to Circuit simulation
* Many improvements to TN simplification
* Make all tag and index operations deterministic
* Add tensor_network_sum(), tensor_network_distance() and fit()
* Various memory and performance improvements
* Various graph generators and TN builders
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 5 20:13:46 UTC 2021 - Benjamin Greiner <code@bnavigator.de> Fri Feb 5 20:13:46 UTC 2021 - Benjamin Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-quimb # spec file for package python-quimb
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,48 +16,51 @@
# #
%define packagename quimb
%define skip_python2 1
%define skip_python36 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-quimb Name: python-quimb
Version: 1.3.0 Version: 1.4.2
Release: 0 Release: 0
Summary: Python library for quantum information and many-body calculations Summary: Python library for quantum information and many-body calculations
License: Apache-2.0 License: Apache-2.0
URL: https://quimb.readthedocs.io/ URL: https://quimb.readthedocs.io/
Source: https://github.com/jcmgray/quimb/archive/%{version}.tar.gz#/%{packagename}-%{version}.tar.gz Source: https://github.com/jcmgray/quimb/archive/%{version}.tar.gz#/quimb-%{version}.tar.gz
BuildRequires: %{python_module autoray >= 0.1} BuildRequires: %{python_module pip}
BuildRequires: %{python_module cytoolz >= 0.8.0}
BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module networkx}
BuildRequires: %{python_module numba >= 0.39}
BuildRequires: %{python_module numpy >= 1.17}
BuildRequires: %{python_module opt-einsum >= 2}
BuildRequires: %{python_module psutil >= 4.3.1}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scipy >= 1.0.0}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module tqdm >= 4} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-autoray >= 0.1
Requires: python-cytoolz >= 0.8.0 Requires: python-cytoolz >= 0.8.0
Requires: python-matplotlib
Requires: python-networkx
Requires: python-numba >= 0.39 Requires: python-numba >= 0.39
Requires: python-numpy >= 1.17 Requires: python-numpy >= 1.17
Requires: python-opt-einsum >= 2
Requires: python-psutil >= 4.3.1 Requires: python-psutil >= 4.3.1
Requires: python-scipy >= 1.0.0 Requires: python-scipy >= 1.0.0
Requires: python-tqdm >= 4 Requires: python-tqdm >= 4
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun):update-alternatives
Recommends: python-autoray >= 0.5.1
Recommends: python-diskcache >= 3.0
Recommends: python-matplotlib >= 2
Recommends: python-networkx
Recommends: python-opt-einsum >= 3.2
Suggests: python-mpi4py Suggests: python-mpi4py
Suggests: python-petsc4py Suggests: python-petsc4py
Suggests: python-randomgen >= 1.18 Suggests: python-randomgen >= 1.18
Suggests: python-slepc4py Suggests: python-slepc4py
# SECTION test
BuildRequires: %{python_module pytest}
# runtime
BuildRequires: %{python_module cytoolz >= 0.8.0}
BuildRequires: %{python_module numba >= 0.39}
BuildRequires: %{python_module numpy >= 1.17}
BuildRequires: %{python_module psutil >= 4.3.1}
BuildRequires: %{python_module scipy >= 1.0.0}
BuildRequires: %{python_module tqdm >= 4}
# extra
BuildRequires: %{python_module autoray >= 0.5.1}
BuildRequires: %{python_module diskcache >= 3.0}
BuildRequires: %{python_module matplotlib >= 2}
BuildRequires: %{python_module networkx >= 2.3}
BuildRequires: %{python_module opt-einsum >= 3.2}
# /SECTION
# This package does not support 32 bit arch, s390x fails too # This package does not support 32 bit arch, s390x fails too
ExcludeArch: %ix86 %arm ppc s390x ExcludeArch: %ix86 %arm ppc s390x
%python_subpackages %python_subpackages
@ -67,13 +70,14 @@ quimb is an easy but fast python library for quantum information and
many-body calculations, including with tensor networks. many-body calculations, including with tensor networks.
%prep %prep
%setup -q -n %{packagename}-%{version} %setup -q -n quimb-%{version}
sed -i '/addopts/d' setup.cfg
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/quimb-mpi-python %python_clone -a %{buildroot}%{_bindir}/quimb-mpi-python
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
@ -84,13 +88,14 @@ many-body calculations, including with tensor networks.
%python_uninstall_alternative quimb-mpi-python %python_uninstall_alternative quimb-mpi-python
%check %check
%pytest # precision comparison slightly out of tolerance
%pytest -k "not (test_subtract_update and float32)"
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE.txt %license LICENSE.txt
%python_alternative %{_bindir}/quimb-mpi-python %python_alternative %{_bindir}/quimb-mpi-python
%{python_sitelib}/*egg-info %{python_sitelib}/quimb-%{version}.dist-info
%{python_sitelib}/%{packagename} %{python_sitelib}/quimb
%changelog %changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4efae89a67971dbbc5a2cf131bbe428767eb596f856fc494d96840f2b3d11a6d
size 3744731

3
quimb-1.4.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5dc5148228ab12cf8a466e569f59d63bcf098475bbe22605eb666eeb6f8b90b5
size 6714052