From 931c641a7ab137dee93dc863316e7b86ee53e6a2 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 18 May 2023 05:47:10 +0000 Subject: automatic import of python-qscout-gatemodels --- .gitignore | 1 + python-qscout-gatemodels.spec | 156 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 158 insertions(+) create mode 100644 python-qscout-gatemodels.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..a664d23 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/QSCOUT-gatemodels-1.1.1.tar.gz diff --git a/python-qscout-gatemodels.spec b/python-qscout-gatemodels.spec new file mode 100644 index 0000000..98cbbb9 --- /dev/null +++ b/python-qscout-gatemodels.spec @@ -0,0 +1,156 @@ +%global _empty_manifest_terminate_build 0 +Name: python-QSCOUT-gatemodels +Version: 1.1.1 +Release: 1 +Summary: QSCOUT Gate Models +License: Apache +URL: https://qscout.sandia.gov +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8e/be/f50abc1b0930a594b009e6ba6be541eab31e63af6687c6147414609aed4b/QSCOUT-gatemodels-1.1.1.tar.gz +BuildArch: noarch + +Requires: python3-JaqalPaq +Requires: python3-numpy +Requires: python3-pytest + +%description +The [Quantum Scientific Computing Open User Testbed +(QSCOUT)](https://qscout.sandia.gov/) is a five-year DOE program to build a +quantum testbed based on trapped ions that is available to the research +community. As an open platform, it will not only provide full specifications +and control for the realization of all high level quantum and classical +processes, it will also enable researchers to investigate, alter, and optimize +the internals of the testbed and test more advanced implementations of quantum +operations. +This Python package allows [JaqalPaq](https://gitlab.com/jaqal/jaqalpaq) +to understand the native gate set used by QSCOUT hardware. In particular, +it allows JaqalPaq to emulate Jaqal programs targeting QSCOUT hardware. +## Installation +The QSCOUT Gate Models package is available on +[GitLab](https://gitlab.com/jaqal/qscout-gatemodels). +Use the package manager [pip](https://pip.pypa.io/en/stable/) to install it. +```bash +pip install qscout-gatemodels +``` +[pyGSTi](https://www.pygsti.info/) is used to perform forward simulations, and +is a recommended dependency. +```bash +pip install pygsti +``` +## License +[Apache 2.0](https://choosealicense.com/licenses/apache-2.0/) +## Questions? +For help and support, please contact +[qscout@sandia.gov](mailto:qscout@sandia.gov). + +%package -n python3-QSCOUT-gatemodels +Summary: QSCOUT Gate Models +Provides: python-QSCOUT-gatemodels +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-QSCOUT-gatemodels +The [Quantum Scientific Computing Open User Testbed +(QSCOUT)](https://qscout.sandia.gov/) is a five-year DOE program to build a +quantum testbed based on trapped ions that is available to the research +community. As an open platform, it will not only provide full specifications +and control for the realization of all high level quantum and classical +processes, it will also enable researchers to investigate, alter, and optimize +the internals of the testbed and test more advanced implementations of quantum +operations. +This Python package allows [JaqalPaq](https://gitlab.com/jaqal/jaqalpaq) +to understand the native gate set used by QSCOUT hardware. In particular, +it allows JaqalPaq to emulate Jaqal programs targeting QSCOUT hardware. +## Installation +The QSCOUT Gate Models package is available on +[GitLab](https://gitlab.com/jaqal/qscout-gatemodels). +Use the package manager [pip](https://pip.pypa.io/en/stable/) to install it. +```bash +pip install qscout-gatemodels +``` +[pyGSTi](https://www.pygsti.info/) is used to perform forward simulations, and +is a recommended dependency. +```bash +pip install pygsti +``` +## License +[Apache 2.0](https://choosealicense.com/licenses/apache-2.0/) +## Questions? +For help and support, please contact +[qscout@sandia.gov](mailto:qscout@sandia.gov). + +%package help +Summary: Development documents and examples for QSCOUT-gatemodels +Provides: python3-QSCOUT-gatemodels-doc +%description help +The [Quantum Scientific Computing Open User Testbed +(QSCOUT)](https://qscout.sandia.gov/) is a five-year DOE program to build a +quantum testbed based on trapped ions that is available to the research +community. As an open platform, it will not only provide full specifications +and control for the realization of all high level quantum and classical +processes, it will also enable researchers to investigate, alter, and optimize +the internals of the testbed and test more advanced implementations of quantum +operations. +This Python package allows [JaqalPaq](https://gitlab.com/jaqal/jaqalpaq) +to understand the native gate set used by QSCOUT hardware. In particular, +it allows JaqalPaq to emulate Jaqal programs targeting QSCOUT hardware. +## Installation +The QSCOUT Gate Models package is available on +[GitLab](https://gitlab.com/jaqal/qscout-gatemodels). +Use the package manager [pip](https://pip.pypa.io/en/stable/) to install it. +```bash +pip install qscout-gatemodels +``` +[pyGSTi](https://www.pygsti.info/) is used to perform forward simulations, and +is a recommended dependency. +```bash +pip install pygsti +``` +## License +[Apache 2.0](https://choosealicense.com/licenses/apache-2.0/) +## Questions? +For help and support, please contact +[qscout@sandia.gov](mailto:qscout@sandia.gov). + +%prep +%autosetup -n QSCOUT-gatemodels-1.1.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-QSCOUT-gatemodels -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot - 1.1.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..b6c7342 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +2e6afee833b2eeafe1837e4c63062097 QSCOUT-gatemodels-1.1.1.tar.gz -- cgit v1.2.3