From f101ac75d92bb3ece566d8deac0bde7a0d0a181c Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 14:32:57 +0000 Subject: automatic import of python-strawberryfields --- .gitignore | 1 + python-strawberryfields.spec | 499 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 501 insertions(+) create mode 100644 python-strawberryfields.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..c16afd6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/StrawberryFields-0.23.0.tar.gz diff --git a/python-strawberryfields.spec b/python-strawberryfields.spec new file mode 100644 index 0000000..4e9cbec --- /dev/null +++ b/python-strawberryfields.spec @@ -0,0 +1,499 @@ +%global _empty_manifest_terminate_build 0 +Name: python-StrawberryFields +Version: 0.23.0 +Release: 1 +Summary: Open source library for continuous-variable quantum computation +License: Apache License 2.0 +URL: https://github.com/XanaduAI/StrawberryFields +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/09/9b/c2b92e51da385a70222cb9b531025cf877539812b0f1007cb151775e3779/StrawberryFields-0.23.0.tar.gz +BuildArch: noarch + +Requires: python3-networkx +Requires: python3-numba +Requires: python3-numpy +Requires: python3-dateutil +Requires: python3-quantum-blackbird +Requires: python3-requests +Requires: python3-scipy +Requires: python3-sympy +Requires: python3-thewalrus +Requires: python3-toml +Requires: python3-urllib3 +Requires: python3-quantum-xir +Requires: python3-xanadu-cloud-client + +%description +

+ + + +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +

+ +

+ Strawberry Fields is a full-stack Python library for + designing, simulating, and optimizing continuous-variable quantum optical circuits. +

+ + +## Features + + + + +* Execute photonic quantum algorithms directly on + [Xanadu's next-generation quantum hardware](https://strawberryfields.ai/photonics/hardware/index.html). + +* [High-level functions](https://strawberryfields.ai/photonics/applications.html) for **solving + practical problems** including **graph and network optimization**, **machine learning**, and + **chemistry**. + +* Includes a suite of world-class simulators—based on cutting-edge algorithms—to compile and + simulate photonic algorithms. + +* [Train and optimize](https://strawberryfields.ai/photonics/demonstrations.html#optimization-and-machine-learning) + your quantum programs with our end-to-end differentiable TensorFlow backend. + + +## Installation + +Strawberry Fields requires Python version 3.7, 3.8, 3.9, or 3.10. Installation of Strawberry Fields, as +well as all dependencies, can be done using pip: + +```console +pip install strawberryfields +``` + + +## Getting started + +To get started with writing your own Strawberry Fields code, begin with our [photonic circuit +quickstart guides](https://strawberryfields.readthedocs.io/en/stable/introduction/introduction.html), +before exploring our many [tutorials](https://strawberryfields.ai/photonics/demonstrations.html) and +[applications](https://strawberryfields.ai/photonics/applications.html). + + + + + +Next, read more about using Strawberry Fields with +[photonic hardware](https://strawberryfields.ai/photonics/hardware/index.html), including code +demonstrations and an overview of Xanadu's quantum photonic hardware. + +Developers can head to the +[development guide](https://strawberryfields.readthedocs.io/en/stable/development/development_guide.html) +to see how they can contribute to Strawberry Fields. + + +## Contributing to Strawberry Fields + +We welcome contributions — simply fork the Strawberry Fields repository, and then make a +[pull request](https://help.github.com/articles/about-pull-requests/) containing your contribution. +All contributors to Strawberry Fields will be listed as authors on the releases. + +We also encourage bug reports, suggestions for new features and enhancements, and even links to cool +projects or applications built on Strawberry Fields. + +See our [contributions page](https://github.com/XanaduAI/strawberryfields/blob/master/.github/CONTRIBUTING.md) +and [changelog](https://github.com/XanaduAI/strawberryfields/blob/master/.github/CHANGELOG.md) +for more details, and then check out some of the Strawberry Fields +[challenges](https://github.com/XanaduAI/strawberryfields/blob/master/.github/CHALLENGES.md) +for some inspiration. + + +## Authors + +Strawberry Fields is the work of +[many contributors](https://github.com/XanaduAI/strawberryfields/graphs/contributors) + +If you are doing research using Strawberry Fields, please cite our papers: + +> Nathan Killoran, Josh Izaac, Nicolás Quesada, Ville Bergholm, Matthew Amy, and +> Christian Weedbrook. "Strawberry Fields: A Software Platform for Photonic Quantum Computing", +> [Quantum, 3, 129](https://quantum-journal.org/papers/q-2019-03-11-129/) (2019). + +> Thomas R. Bromley, Juan Miguel Arrazola, Soran Jahangiri, Josh Izaac, Nicolás Quesada, +> Alain Delgado Gran, Maria Schuld, Jeremy Swinarton, Zeid Zabaneh, and Nathan Killoran. +> "Applications of Near-Term Photonic Quantum Computers: Software and Algorithms", +> [Quantum Sci. Technol. 5 034010](https://iopscience.iop.org/article/10.1088/2058-9565/ab8504/meta) (2020). + + +## Support + +- **Source Code:** https://github.com/XanaduAI/strawberryfields +- **Issue Tracker:** https://github.com/XanaduAI/strawberryfields/issues + +If you are having issues, please let us know by posting the issue on our Github issue tracker. + +We also have a [Slack channel](https://u.strawberryfields.ai/slack) and a +[discussion forum](https://discuss.pennylane.ai/) — come join the discussion and chat with our +Strawberry Fields team. + + +## License + +Strawberry Fields is **free** and **open source**, released under the Apache License, Version 2.0. + + + + +%package -n python3-StrawberryFields +Summary: Open source library for continuous-variable quantum computation +Provides: python-StrawberryFields +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-StrawberryFields +

+ + + +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +

+ +

+ Strawberry Fields is a full-stack Python library for + designing, simulating, and optimizing continuous-variable quantum optical circuits. +

+ + +## Features + + + + +* Execute photonic quantum algorithms directly on + [Xanadu's next-generation quantum hardware](https://strawberryfields.ai/photonics/hardware/index.html). + +* [High-level functions](https://strawberryfields.ai/photonics/applications.html) for **solving + practical problems** including **graph and network optimization**, **machine learning**, and + **chemistry**. + +* Includes a suite of world-class simulators—based on cutting-edge algorithms—to compile and + simulate photonic algorithms. + +* [Train and optimize](https://strawberryfields.ai/photonics/demonstrations.html#optimization-and-machine-learning) + your quantum programs with our end-to-end differentiable TensorFlow backend. + + +## Installation + +Strawberry Fields requires Python version 3.7, 3.8, 3.9, or 3.10. Installation of Strawberry Fields, as +well as all dependencies, can be done using pip: + +```console +pip install strawberryfields +``` + + +## Getting started + +To get started with writing your own Strawberry Fields code, begin with our [photonic circuit +quickstart guides](https://strawberryfields.readthedocs.io/en/stable/introduction/introduction.html), +before exploring our many [tutorials](https://strawberryfields.ai/photonics/demonstrations.html) and +[applications](https://strawberryfields.ai/photonics/applications.html). + + + + + +Next, read more about using Strawberry Fields with +[photonic hardware](https://strawberryfields.ai/photonics/hardware/index.html), including code +demonstrations and an overview of Xanadu's quantum photonic hardware. + +Developers can head to the +[development guide](https://strawberryfields.readthedocs.io/en/stable/development/development_guide.html) +to see how they can contribute to Strawberry Fields. + + +## Contributing to Strawberry Fields + +We welcome contributions — simply fork the Strawberry Fields repository, and then make a +[pull request](https://help.github.com/articles/about-pull-requests/) containing your contribution. +All contributors to Strawberry Fields will be listed as authors on the releases. + +We also encourage bug reports, suggestions for new features and enhancements, and even links to cool +projects or applications built on Strawberry Fields. + +See our [contributions page](https://github.com/XanaduAI/strawberryfields/blob/master/.github/CONTRIBUTING.md) +and [changelog](https://github.com/XanaduAI/strawberryfields/blob/master/.github/CHANGELOG.md) +for more details, and then check out some of the Strawberry Fields +[challenges](https://github.com/XanaduAI/strawberryfields/blob/master/.github/CHALLENGES.md) +for some inspiration. + + +## Authors + +Strawberry Fields is the work of +[many contributors](https://github.com/XanaduAI/strawberryfields/graphs/contributors) + +If you are doing research using Strawberry Fields, please cite our papers: + +> Nathan Killoran, Josh Izaac, Nicolás Quesada, Ville Bergholm, Matthew Amy, and +> Christian Weedbrook. "Strawberry Fields: A Software Platform for Photonic Quantum Computing", +> [Quantum, 3, 129](https://quantum-journal.org/papers/q-2019-03-11-129/) (2019). + +> Thomas R. Bromley, Juan Miguel Arrazola, Soran Jahangiri, Josh Izaac, Nicolás Quesada, +> Alain Delgado Gran, Maria Schuld, Jeremy Swinarton, Zeid Zabaneh, and Nathan Killoran. +> "Applications of Near-Term Photonic Quantum Computers: Software and Algorithms", +> [Quantum Sci. Technol. 5 034010](https://iopscience.iop.org/article/10.1088/2058-9565/ab8504/meta) (2020). + + +## Support + +- **Source Code:** https://github.com/XanaduAI/strawberryfields +- **Issue Tracker:** https://github.com/XanaduAI/strawberryfields/issues + +If you are having issues, please let us know by posting the issue on our Github issue tracker. + +We also have a [Slack channel](https://u.strawberryfields.ai/slack) and a +[discussion forum](https://discuss.pennylane.ai/) — come join the discussion and chat with our +Strawberry Fields team. + + +## License + +Strawberry Fields is **free** and **open source**, released under the Apache License, Version 2.0. + + + + +%package help +Summary: Development documents and examples for StrawberryFields +Provides: python3-StrawberryFields-doc +%description help +

+ + + +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + +

+ +

+ Strawberry Fields is a full-stack Python library for + designing, simulating, and optimizing continuous-variable quantum optical circuits. +

+ + +## Features + + + + +* Execute photonic quantum algorithms directly on + [Xanadu's next-generation quantum hardware](https://strawberryfields.ai/photonics/hardware/index.html). + +* [High-level functions](https://strawberryfields.ai/photonics/applications.html) for **solving + practical problems** including **graph and network optimization**, **machine learning**, and + **chemistry**. + +* Includes a suite of world-class simulators—based on cutting-edge algorithms—to compile and + simulate photonic algorithms. + +* [Train and optimize](https://strawberryfields.ai/photonics/demonstrations.html#optimization-and-machine-learning) + your quantum programs with our end-to-end differentiable TensorFlow backend. + + +## Installation + +Strawberry Fields requires Python version 3.7, 3.8, 3.9, or 3.10. Installation of Strawberry Fields, as +well as all dependencies, can be done using pip: + +```console +pip install strawberryfields +``` + + +## Getting started + +To get started with writing your own Strawberry Fields code, begin with our [photonic circuit +quickstart guides](https://strawberryfields.readthedocs.io/en/stable/introduction/introduction.html), +before exploring our many [tutorials](https://strawberryfields.ai/photonics/demonstrations.html) and +[applications](https://strawberryfields.ai/photonics/applications.html). + + + + + +Next, read more about using Strawberry Fields with +[photonic hardware](https://strawberryfields.ai/photonics/hardware/index.html), including code +demonstrations and an overview of Xanadu's quantum photonic hardware. + +Developers can head to the +[development guide](https://strawberryfields.readthedocs.io/en/stable/development/development_guide.html) +to see how they can contribute to Strawberry Fields. + + +## Contributing to Strawberry Fields + +We welcome contributions — simply fork the Strawberry Fields repository, and then make a +[pull request](https://help.github.com/articles/about-pull-requests/) containing your contribution. +All contributors to Strawberry Fields will be listed as authors on the releases. + +We also encourage bug reports, suggestions for new features and enhancements, and even links to cool +projects or applications built on Strawberry Fields. + +See our [contributions page](https://github.com/XanaduAI/strawberryfields/blob/master/.github/CONTRIBUTING.md) +and [changelog](https://github.com/XanaduAI/strawberryfields/blob/master/.github/CHANGELOG.md) +for more details, and then check out some of the Strawberry Fields +[challenges](https://github.com/XanaduAI/strawberryfields/blob/master/.github/CHALLENGES.md) +for some inspiration. + + +## Authors + +Strawberry Fields is the work of +[many contributors](https://github.com/XanaduAI/strawberryfields/graphs/contributors) + +If you are doing research using Strawberry Fields, please cite our papers: + +> Nathan Killoran, Josh Izaac, Nicolás Quesada, Ville Bergholm, Matthew Amy, and +> Christian Weedbrook. "Strawberry Fields: A Software Platform for Photonic Quantum Computing", +> [Quantum, 3, 129](https://quantum-journal.org/papers/q-2019-03-11-129/) (2019). + +> Thomas R. Bromley, Juan Miguel Arrazola, Soran Jahangiri, Josh Izaac, Nicolás Quesada, +> Alain Delgado Gran, Maria Schuld, Jeremy Swinarton, Zeid Zabaneh, and Nathan Killoran. +> "Applications of Near-Term Photonic Quantum Computers: Software and Algorithms", +> [Quantum Sci. Technol. 5 034010](https://iopscience.iop.org/article/10.1088/2058-9565/ab8504/meta) (2020). + + +## Support + +- **Source Code:** https://github.com/XanaduAI/strawberryfields +- **Issue Tracker:** https://github.com/XanaduAI/strawberryfields/issues + +If you are having issues, please let us know by posting the issue on our Github issue tracker. + +We also have a [Slack channel](https://u.strawberryfields.ai/slack) and a +[discussion forum](https://discuss.pennylane.ai/) — come join the discussion and chat with our +Strawberry Fields team. + + +## License + +Strawberry Fields is **free** and **open source**, released under the Apache License, Version 2.0. + + + + +%prep +%autosetup -n StrawberryFields-0.23.0 + +%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-StrawberryFields -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 0.23.0-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..9a6a8bf --- /dev/null +++ b/sources @@ -0,0 +1 @@ +b6c99242c6357b368764a2b7a7d538b7 StrawberryFields-0.23.0.tar.gz -- cgit v1.2.3