summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 23:12:54 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 23:12:54 +0000
commit81de5c261b80a6fd0d8b5f13dc09bd6e915e6265 (patch)
tree8acf2504403704b37a8f810239492295c850b454
parent1c6d317d856aa8effb21607aaff1d8e3dd90de70 (diff)
automatic import of python-pyquil
-rw-r--r--.gitignore1
-rw-r--r--python-pyquil.spec138
-rw-r--r--sources1
3 files changed, 140 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c39050d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyquil-3.3.5.tar.gz
diff --git a/python-pyquil.spec b/python-pyquil.spec
new file mode 100644
index 0000000..599b772
--- /dev/null
+++ b/python-pyquil.spec
@@ -0,0 +1,138 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pyquil
+Version: 3.3.5
+Release: 1
+Summary: A Python library for creating Quantum Instruction Language (Quil) programs.
+License: Apache-2.0
+URL: https://github.com/rigetti/pyquil.git
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/8b/83/0e5e0eea71d0954fd4caf037b8a957277940353148859673267504904ac2/pyquil-3.3.5.tar.gz
+BuildArch: noarch
+
+Requires: python3-numpy
+Requires: python3-scipy
+Requires: python3-lark
+Requires: python3-rpcq
+Requires: python3-networkx
+Requires: python3-importlib-metadata
+Requires: python3-qcs-api-client
+Requires: python3-retry
+Requires: python3-types-python-dateutil
+Requires: python3-types-retry
+Requires: python3-ipython
+Requires: python3-Sphinx
+Requires: python3-sphinx-rtd-theme
+Requires: python3-nbsphinx
+Requires: python3-recommonmark
+
+%description
+[![binder](https://mybinder.org/badge_logo.svg)][binder]
+[![docs][docs-badge]][docs-repo]
+[![coverage][coverage-badge]][coverage-repo]
+[![docker][docker-badge]][docker-repo]
+[![pepy][pepy-badge]][pepy-repo]
+[![pypi][pypi-badge]][pypi-repo]
+[![slack][slack-badge]][slack-invite]
+PyQuil is a Python library for quantum programming using [Quil](https://arxiv.org/abs/1608.03355),
+the quantum instruction language developed at [Rigetti Computing](https://www.rigetti.com/).
+PyQuil serves three main functions:
+- Easily generating Quil programs from quantum gates and classical operations
+- Compiling and simulating Quil programs using the [Quil Compiler](https://github.com/rigetti/quilc)
+ (quilc) and the [Quantum Virtual Machine](https://github.com/rigetti/qvm) (QVM)
+- Executing Quil programs on real quantum processors (QPUs) using
+ [Quantum Cloud Services][qcs-paper] (QCS)
+PyQuil has a ton of other features, which you can learn more about in the
+[docs](http://pyquil.readthedocs.io/en/latest/). However, you can also keep reading
+below to get started with running your first quantum program!
+
+%package -n python3-pyquil
+Summary: A Python library for creating Quantum Instruction Language (Quil) programs.
+Provides: python-pyquil
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pyquil
+[![binder](https://mybinder.org/badge_logo.svg)][binder]
+[![docs][docs-badge]][docs-repo]
+[![coverage][coverage-badge]][coverage-repo]
+[![docker][docker-badge]][docker-repo]
+[![pepy][pepy-badge]][pepy-repo]
+[![pypi][pypi-badge]][pypi-repo]
+[![slack][slack-badge]][slack-invite]
+PyQuil is a Python library for quantum programming using [Quil](https://arxiv.org/abs/1608.03355),
+the quantum instruction language developed at [Rigetti Computing](https://www.rigetti.com/).
+PyQuil serves three main functions:
+- Easily generating Quil programs from quantum gates and classical operations
+- Compiling and simulating Quil programs using the [Quil Compiler](https://github.com/rigetti/quilc)
+ (quilc) and the [Quantum Virtual Machine](https://github.com/rigetti/qvm) (QVM)
+- Executing Quil programs on real quantum processors (QPUs) using
+ [Quantum Cloud Services][qcs-paper] (QCS)
+PyQuil has a ton of other features, which you can learn more about in the
+[docs](http://pyquil.readthedocs.io/en/latest/). However, you can also keep reading
+below to get started with running your first quantum program!
+
+%package help
+Summary: Development documents and examples for pyquil
+Provides: python3-pyquil-doc
+%description help
+[![binder](https://mybinder.org/badge_logo.svg)][binder]
+[![docs][docs-badge]][docs-repo]
+[![coverage][coverage-badge]][coverage-repo]
+[![docker][docker-badge]][docker-repo]
+[![pepy][pepy-badge]][pepy-repo]
+[![pypi][pypi-badge]][pypi-repo]
+[![slack][slack-badge]][slack-invite]
+PyQuil is a Python library for quantum programming using [Quil](https://arxiv.org/abs/1608.03355),
+the quantum instruction language developed at [Rigetti Computing](https://www.rigetti.com/).
+PyQuil serves three main functions:
+- Easily generating Quil programs from quantum gates and classical operations
+- Compiling and simulating Quil programs using the [Quil Compiler](https://github.com/rigetti/quilc)
+ (quilc) and the [Quantum Virtual Machine](https://github.com/rigetti/qvm) (QVM)
+- Executing Quil programs on real quantum processors (QPUs) using
+ [Quantum Cloud Services][qcs-paper] (QCS)
+PyQuil has a ton of other features, which you can learn more about in the
+[docs](http://pyquil.readthedocs.io/en/latest/). However, you can also keep reading
+below to get started with running your first quantum program!
+
+%prep
+%autosetup -n pyquil-3.3.5
+
+%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-pyquil -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 3.3.5-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..9211b35
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+0018a412d78803d7a56110ac6e0d9559 pyquil-3.3.5.tar.gz