summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 03:42:54 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 03:42:54 +0000
commit6e6cac5fa2c4e5c693bbf47565f07838b89936cf (patch)
tree4eeab04e89d8b7d26b5f385be470d004e918fc70
parenta8e52683430f4c6abc42ab28d2d9b525e15fdf59 (diff)
automatic import of python-pygstiopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-pygsti.spec235
-rw-r--r--sources1
3 files changed, 237 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..35f241d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyGSTi-0.9.11.1.tar.gz
diff --git a/python-pygsti.spec b/python-pygsti.spec
new file mode 100644
index 0000000..daab328
--- /dev/null
+++ b/python-pygsti.spec
@@ -0,0 +1,235 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pyGSTi
+Version: 0.9.11.1
+Release: 1
+Summary: A python implementation of Gate Set Tomography
+License: Apache Software License
+URL: http://www.pygsti.info
+Source0: https://mirrors.aliyun.com/pypi/web/packages/f1/72/d06ffb67afd521b0d3c57ec762ebb372236d9794d5f7e818ecefa797297e/pyGSTi-0.9.11.1.tar.gz
+
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-plotly
+Requires: python3-pandas
+Requires: python3-ipython
+Requires: python3-cirq
+Requires: python3-ply
+Requires: python3-pytest
+Requires: python3-flake8
+Requires: python3-pandas
+Requires: python3-matplotlib
+Requires: python3-qibo
+Requires: python3-nbval
+Requires: python3-cvxopt
+Requires: python3-psutil
+Requires: python3-pytest-xdist
+Requires: python3-csaps
+Requires: python3-pymongo
+Requires: python3-cvxopt
+Requires: python3-autopep8
+Requires: python3-notebook
+Requires: python3-cvxpy
+Requires: python3-jinja2
+Requires: python3-MarkupSafe
+Requires: python3-seaborn
+Requires: python3-zmq
+Requires: python3-nose
+Requires: python3-mpi4py
+Requires: python3-msgpack
+Requires: python3-cython
+Requires: python3-packaging
+Requires: python3-pytest-cov
+Requires: python3-deap
+Requires: python3-cvxopt
+Requires: python3-cvxpy
+Requires: python3-deap
+Requires: python3-cython
+Requires: python3-jinja2
+Requires: python3-MarkupSafe
+Requires: python3-csaps
+Requires: python3-autopep8
+Requires: python3-flake8
+Requires: python3-psutil
+Requires: python3-pymongo
+Requires: python3-msgpack
+Requires: python3-mpi4py
+Requires: python3-ipython
+Requires: python3-cirq
+Requires: python3-ply
+Requires: python3-pytest
+Requires: python3-flake8
+Requires: python3-pandas
+Requires: python3-matplotlib
+Requires: python3-qibo
+Requires: python3-nbval
+Requires: python3-cvxopt
+Requires: python3-psutil
+Requires: python3-pytest-xdist
+Requires: python3-csaps
+Requires: python3-pymongo
+Requires: python3-cvxopt
+Requires: python3-autopep8
+Requires: python3-notebook
+Requires: python3-cvxpy
+Requires: python3-jinja2
+Requires: python3-MarkupSafe
+Requires: python3-seaborn
+Requires: python3-zmq
+Requires: python3-nose
+Requires: python3-msgpack
+Requires: python3-cython
+Requires: python3-packaging
+Requires: python3-pytest-cov
+Requires: python3-deap
+Requires: python3-ipython
+Requires: python3-notebook
+Requires: python3-matplotlib
+Requires: python3-pandas
+Requires: python3-pytest
+Requires: python3-pytest-xdist
+Requires: python3-pytest-cov
+Requires: python3-nbval
+Requires: python3-nose
+Requires: python3-csaps
+Requires: python3-cvxopt
+Requires: python3-cvxpy
+Requires: python3-cython
+Requires: python3-matplotlib
+Requires: python3-mpi4py
+Requires: python3-msgpack
+Requires: python3-packaging
+Requires: python3-pandas
+Requires: python3-psutil
+Requires: python3-zmq
+Requires: python3-jinja2
+Requires: python3-seaborn
+Requires: python3-ply
+Requires: python3-qibo
+Requires: python3-cirq
+Requires: python3-notebook
+Requires: python3-ipython
+
+%description
+Gate set tomography (GST) is a quantum tomography protocol that provides full characterization of a quantum logic device
+(e.g. a qubit). GST estimates a set of quantum logic gates and (simultaneously) the associated state preparation and
+measurement (SPAM) operations. GST is self-calibrating. This eliminates a key limitation of traditional quantum state
+and process tomography, which characterize either states (assuming perfect processes) or processes (assuming perfect
+state preparation and measurement), but not both together. Compared with benchmarking protocols such as randomized
+benchmarking, GST provides much more detailed and accurate information about the gates, but demands more data. The
+primary downside of GST has been its complexity. Whereas benchmarking and state/process tomography data can be analyzed
+with relatively simple algorithms, GST requires more complex algorithms and more fine-tuning (linear GST is an exception
+that can be implemented easily). pyGSTi addresses and eliminates this obstacle by providing a fully-featured, publicly
+available implementation of GST in the Python programming language.
+
+The primary goals of the pyGSTi project are to:
+
+- provide efficient and robust implementations of Gate Set Tomography algorithms;
+- allow straightforward interoperability with other software;
+- provide a powerful high-level interface suited to inexperienced programmers, so that
+ common GST tasks can be performed using just one or two lines of code;
+- use modular design to make it easy for users to modify, customize, and extend GST functionality.
+
+
+
+
+%package -n python3-pyGSTi
+Summary: A python implementation of Gate Set Tomography
+Provides: python-pyGSTi
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+BuildRequires: python3-cffi
+BuildRequires: gcc
+BuildRequires: gdb
+%description -n python3-pyGSTi
+Gate set tomography (GST) is a quantum tomography protocol that provides full characterization of a quantum logic device
+(e.g. a qubit). GST estimates a set of quantum logic gates and (simultaneously) the associated state preparation and
+measurement (SPAM) operations. GST is self-calibrating. This eliminates a key limitation of traditional quantum state
+and process tomography, which characterize either states (assuming perfect processes) or processes (assuming perfect
+state preparation and measurement), but not both together. Compared with benchmarking protocols such as randomized
+benchmarking, GST provides much more detailed and accurate information about the gates, but demands more data. The
+primary downside of GST has been its complexity. Whereas benchmarking and state/process tomography data can be analyzed
+with relatively simple algorithms, GST requires more complex algorithms and more fine-tuning (linear GST is an exception
+that can be implemented easily). pyGSTi addresses and eliminates this obstacle by providing a fully-featured, publicly
+available implementation of GST in the Python programming language.
+
+The primary goals of the pyGSTi project are to:
+
+- provide efficient and robust implementations of Gate Set Tomography algorithms;
+- allow straightforward interoperability with other software;
+- provide a powerful high-level interface suited to inexperienced programmers, so that
+ common GST tasks can be performed using just one or two lines of code;
+- use modular design to make it easy for users to modify, customize, and extend GST functionality.
+
+
+
+
+%package help
+Summary: Development documents and examples for pyGSTi
+Provides: python3-pyGSTi-doc
+%description help
+Gate set tomography (GST) is a quantum tomography protocol that provides full characterization of a quantum logic device
+(e.g. a qubit). GST estimates a set of quantum logic gates and (simultaneously) the associated state preparation and
+measurement (SPAM) operations. GST is self-calibrating. This eliminates a key limitation of traditional quantum state
+and process tomography, which characterize either states (assuming perfect processes) or processes (assuming perfect
+state preparation and measurement), but not both together. Compared with benchmarking protocols such as randomized
+benchmarking, GST provides much more detailed and accurate information about the gates, but demands more data. The
+primary downside of GST has been its complexity. Whereas benchmarking and state/process tomography data can be analyzed
+with relatively simple algorithms, GST requires more complex algorithms and more fine-tuning (linear GST is an exception
+that can be implemented easily). pyGSTi addresses and eliminates this obstacle by providing a fully-featured, publicly
+available implementation of GST in the Python programming language.
+
+The primary goals of the pyGSTi project are to:
+
+- provide efficient and robust implementations of Gate Set Tomography algorithms;
+- allow straightforward interoperability with other software;
+- provide a powerful high-level interface suited to inexperienced programmers, so that
+ common GST tasks can be performed using just one or two lines of code;
+- use modular design to make it easy for users to modify, customize, and extend GST functionality.
+
+
+
+
+%prep
+%autosetup -n pyGSTi-0.9.11.1
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-pyGSTi -f filelist.lst
+%dir %{python3_sitearch}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.9.11.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..fd83391
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ccb2ea4e007b895b64ab8d47ec7edeed pyGSTi-0.9.11.1.tar.gz