From cb947db7117e9ec682269698a913a8352ebe2ac8 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 10 Apr 2023 22:44:39 +0000 Subject: automatic import of python-qiskit --- .gitignore | 1 + python-qiskit.spec | 363 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 365 insertions(+) create mode 100644 python-qiskit.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..573c79d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/qiskit-0.42.1.tar.gz diff --git a/python-qiskit.spec b/python-qiskit.spec new file mode 100644 index 0000000..234aad4 --- /dev/null +++ b/python-qiskit.spec @@ -0,0 +1,363 @@ +%global _empty_manifest_terminate_build 0 +Name: python-qiskit +Version: 0.42.1 +Release: 1 +Summary: Software for developing quantum computing programs +License: Apache 2.0 +URL: https://qiskit.org/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bb/40/ab53b042104a00984b5620b3f44986d1e55757dba983f49adf30ffb136f7/qiskit-0.42.1.tar.gz +BuildArch: noarch + + +%description +![Image](https://raw.githubusercontent.com/Qiskit/qiskit/master/images/qiskit_header.png) + +[![License](https://img.shields.io/github/license/Qiskit/qiskit.svg?)](https://opensource.org/licenses/Apache-2.0) +![Build Status](https://github.com/Qiskit/qiskit/actions/workflows/main.yml/badge.svg?branch=master) +![Build Status](https://github.com/Qiskit/qiskit/actions/workflows/docs.yml/badge.svg?branch=master) +[![](https://img.shields.io/github/release/Qiskit/qiskit.svg)](https://github.com/Qiskit/qiskit/releases) +[![Downloads](https://pepy.tech/badge/qiskit)](https://pypi.org/project/qiskit/) +[![DOI](https://zenodo.org/badge/161550823.svg)](https://zenodo.org/badge/latestdoi/161550823) + +**Qiskit** is an open-source SDK for working with quantum computers at the level of circuits, algorithms, and application modules. + +Qiskit is made up of elements that work together to enable quantum computing. This is a simple meta-package to install the elements of Qiskit altogether. + +## Installation + +The best way of installing `qiskit` is by using `pip`: + +```bash +$ pip install qiskit +``` + +See [install](https://qiskit.org/documentation/getting_started.html) Qiskit for detailed instructions, how to use virtual environments, and +build from source standalone versions of the individual Qiskit elements and components. + +## Qiskit Packaging + +The Qiskit project used to be made up of many components. However, in the future the Qiskit metapackage will only install [**Qiskit Terra**](https://github.com/Qiskit/qiskit-terra): + +| Build | Version | Contribute | +| --- | --- | --- | +| [**Qiskit Terra**](https://github.com/Qiskit/qiskit-terra) | [![](https://img.shields.io/github/release/Qiskit/qiskit-terra.svg?)](https://github.com/Qiskit/qiskit-terra/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-terra.svg?)](https://github.com/Qiskit/qiskit-terra) | + + + + + + + + + + + + + + + + + + + + +
:warning: WARNING :warning:
For the time being, two other packages are installed, but these components will be removed from the metapackage in a future release.
BuildVersionContribute
Qiskit Aer
Qiskit IBM Quantum Provider
+ +### Optional components + +These components are part of the Qiskit ecosystem but are built on top of +`qiskit` and are not installed by default with the meta-package. You can either +install them manually, as an optional extra +(ie `pip install "qiskit[finance,experiments]"`), or all together with +`pip install "qiskit[all]"`. + +| Build | Version | Contribute | +| --- | --- | --- | +| [**Qiskit Optimization**](https://github.com/Qiskit/qiskit-optimization) | [![](https://img.shields.io/github/release/Qiskit/qiskit-optimization.svg?)](https://github.com/Qiskit/qiskit-optimization/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-optimization.svg?)](https://github.com/Qiskit/qiskit-optimization) | +| [**Qiskit Finance**](https://github.com/Qiskit/qiskit-finance) | [![](https://img.shields.io/github/release/Qiskit/qiskit-finance.svg?)](https://github.com/Qiskit/qiskit-finance/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-finance.svg?)](https://github.com/Qiskit/qiskit-finance) | +| [**Qiskit Machine Learning**](https://github.com/Qiskit/qiskit-machine-learning) | [![](https://img.shields.io/github/release/Qiskit/qiskit-machine-learning.svg?)](https://github.com/Qiskit/qiskit-machine-learning/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-machine-learning.svg?)](https://github.com/Qiskit/qiskit-machine-learning) | +| [**Qiskit Nature**](https://github.com/Qiskit/qiskit-nature) | [![](https://img.shields.io/github/release/Qiskit/qiskit-nature.svg?)](https://github.com/Qiskit/qiskit-nature/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-nature.svg?)](https://github.com/Qiskit/qiskit-nature) | +| [**Qiskit Experiments**](https://github.com/Qiskit/qiskit-experiments) | [![](https://img.shields.io/github/release/Qiskit/qiskit-experiments.svg?)](https://github.com/Qiskit/qiskit-experiments/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-experiments.svg?)](https://github.com/Qiskit/qiskit-experiments) | + +### Using quantum services + +If you are interested in using quantum services (i.e. using a real quantum +computer, not a simulator) you can look at the Qiskit Partners program for +partner organizations that have provider packages available for their offerings: + +https://qiskit.org/documentation/partners/ + +## Contribution Guidelines + +If you'd like to contribute to Qiskit, please take a look at our +[contribution guidelines](https://qiskit.org/documentation/contributing_to_qiskit.html). This project adheres to Qiskit's [code of conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. + +We use [GitHub issues](https://github.com/Qiskit/qiskit/issues) for tracking requests and bugs. Please use our [Slack](https://qisk.it/join-slack) for discussion and simple questions. For questions that are more suited for a forum we use the Qiskit tag in the [Stack Exchange](https://quantumcomputing.stackexchange.com/questions/tagged/qiskit). + +## Next Steps + +Now you're set up and ready to check out our +[Qiskit Tutorials](https://github.com/Qiskit/qiskit-tutorials) repository. + +## Authors and Citation + +Qiskit is the work of [many people](AUTHORS) who contribute to the project at +different levels. If you use Qiskit, please cite as per the included +[BibTeX file](Qiskit.bib). + +## License + +[Apache License 2.0](LICENSE.txt) + +%package -n python3-qiskit +Summary: Software for developing quantum computing programs +Provides: python-qiskit +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-qiskit +![Image](https://raw.githubusercontent.com/Qiskit/qiskit/master/images/qiskit_header.png) + +[![License](https://img.shields.io/github/license/Qiskit/qiskit.svg?)](https://opensource.org/licenses/Apache-2.0) +![Build Status](https://github.com/Qiskit/qiskit/actions/workflows/main.yml/badge.svg?branch=master) +![Build Status](https://github.com/Qiskit/qiskit/actions/workflows/docs.yml/badge.svg?branch=master) +[![](https://img.shields.io/github/release/Qiskit/qiskit.svg)](https://github.com/Qiskit/qiskit/releases) +[![Downloads](https://pepy.tech/badge/qiskit)](https://pypi.org/project/qiskit/) +[![DOI](https://zenodo.org/badge/161550823.svg)](https://zenodo.org/badge/latestdoi/161550823) + +**Qiskit** is an open-source SDK for working with quantum computers at the level of circuits, algorithms, and application modules. + +Qiskit is made up of elements that work together to enable quantum computing. This is a simple meta-package to install the elements of Qiskit altogether. + +## Installation + +The best way of installing `qiskit` is by using `pip`: + +```bash +$ pip install qiskit +``` + +See [install](https://qiskit.org/documentation/getting_started.html) Qiskit for detailed instructions, how to use virtual environments, and +build from source standalone versions of the individual Qiskit elements and components. + +## Qiskit Packaging + +The Qiskit project used to be made up of many components. However, in the future the Qiskit metapackage will only install [**Qiskit Terra**](https://github.com/Qiskit/qiskit-terra): + +| Build | Version | Contribute | +| --- | --- | --- | +| [**Qiskit Terra**](https://github.com/Qiskit/qiskit-terra) | [![](https://img.shields.io/github/release/Qiskit/qiskit-terra.svg?)](https://github.com/Qiskit/qiskit-terra/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-terra.svg?)](https://github.com/Qiskit/qiskit-terra) | + + + + + + + + + + + + + + + + + + + + +
:warning: WARNING :warning:
For the time being, two other packages are installed, but these components will be removed from the metapackage in a future release.
BuildVersionContribute
Qiskit Aer
Qiskit IBM Quantum Provider
+ +### Optional components + +These components are part of the Qiskit ecosystem but are built on top of +`qiskit` and are not installed by default with the meta-package. You can either +install them manually, as an optional extra +(ie `pip install "qiskit[finance,experiments]"`), or all together with +`pip install "qiskit[all]"`. + +| Build | Version | Contribute | +| --- | --- | --- | +| [**Qiskit Optimization**](https://github.com/Qiskit/qiskit-optimization) | [![](https://img.shields.io/github/release/Qiskit/qiskit-optimization.svg?)](https://github.com/Qiskit/qiskit-optimization/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-optimization.svg?)](https://github.com/Qiskit/qiskit-optimization) | +| [**Qiskit Finance**](https://github.com/Qiskit/qiskit-finance) | [![](https://img.shields.io/github/release/Qiskit/qiskit-finance.svg?)](https://github.com/Qiskit/qiskit-finance/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-finance.svg?)](https://github.com/Qiskit/qiskit-finance) | +| [**Qiskit Machine Learning**](https://github.com/Qiskit/qiskit-machine-learning) | [![](https://img.shields.io/github/release/Qiskit/qiskit-machine-learning.svg?)](https://github.com/Qiskit/qiskit-machine-learning/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-machine-learning.svg?)](https://github.com/Qiskit/qiskit-machine-learning) | +| [**Qiskit Nature**](https://github.com/Qiskit/qiskit-nature) | [![](https://img.shields.io/github/release/Qiskit/qiskit-nature.svg?)](https://github.com/Qiskit/qiskit-nature/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-nature.svg?)](https://github.com/Qiskit/qiskit-nature) | +| [**Qiskit Experiments**](https://github.com/Qiskit/qiskit-experiments) | [![](https://img.shields.io/github/release/Qiskit/qiskit-experiments.svg?)](https://github.com/Qiskit/qiskit-experiments/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-experiments.svg?)](https://github.com/Qiskit/qiskit-experiments) | + +### Using quantum services + +If you are interested in using quantum services (i.e. using a real quantum +computer, not a simulator) you can look at the Qiskit Partners program for +partner organizations that have provider packages available for their offerings: + +https://qiskit.org/documentation/partners/ + +## Contribution Guidelines + +If you'd like to contribute to Qiskit, please take a look at our +[contribution guidelines](https://qiskit.org/documentation/contributing_to_qiskit.html). This project adheres to Qiskit's [code of conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. + +We use [GitHub issues](https://github.com/Qiskit/qiskit/issues) for tracking requests and bugs. Please use our [Slack](https://qisk.it/join-slack) for discussion and simple questions. For questions that are more suited for a forum we use the Qiskit tag in the [Stack Exchange](https://quantumcomputing.stackexchange.com/questions/tagged/qiskit). + +## Next Steps + +Now you're set up and ready to check out our +[Qiskit Tutorials](https://github.com/Qiskit/qiskit-tutorials) repository. + +## Authors and Citation + +Qiskit is the work of [many people](AUTHORS) who contribute to the project at +different levels. If you use Qiskit, please cite as per the included +[BibTeX file](Qiskit.bib). + +## License + +[Apache License 2.0](LICENSE.txt) + +%package help +Summary: Development documents and examples for qiskit +Provides: python3-qiskit-doc +%description help +![Image](https://raw.githubusercontent.com/Qiskit/qiskit/master/images/qiskit_header.png) + +[![License](https://img.shields.io/github/license/Qiskit/qiskit.svg?)](https://opensource.org/licenses/Apache-2.0) +![Build Status](https://github.com/Qiskit/qiskit/actions/workflows/main.yml/badge.svg?branch=master) +![Build Status](https://github.com/Qiskit/qiskit/actions/workflows/docs.yml/badge.svg?branch=master) +[![](https://img.shields.io/github/release/Qiskit/qiskit.svg)](https://github.com/Qiskit/qiskit/releases) +[![Downloads](https://pepy.tech/badge/qiskit)](https://pypi.org/project/qiskit/) +[![DOI](https://zenodo.org/badge/161550823.svg)](https://zenodo.org/badge/latestdoi/161550823) + +**Qiskit** is an open-source SDK for working with quantum computers at the level of circuits, algorithms, and application modules. + +Qiskit is made up of elements that work together to enable quantum computing. This is a simple meta-package to install the elements of Qiskit altogether. + +## Installation + +The best way of installing `qiskit` is by using `pip`: + +```bash +$ pip install qiskit +``` + +See [install](https://qiskit.org/documentation/getting_started.html) Qiskit for detailed instructions, how to use virtual environments, and +build from source standalone versions of the individual Qiskit elements and components. + +## Qiskit Packaging + +The Qiskit project used to be made up of many components. However, in the future the Qiskit metapackage will only install [**Qiskit Terra**](https://github.com/Qiskit/qiskit-terra): + +| Build | Version | Contribute | +| --- | --- | --- | +| [**Qiskit Terra**](https://github.com/Qiskit/qiskit-terra) | [![](https://img.shields.io/github/release/Qiskit/qiskit-terra.svg?)](https://github.com/Qiskit/qiskit-terra/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-terra.svg?)](https://github.com/Qiskit/qiskit-terra) | + + + + + + + + + + + + + + + + + + + + +
:warning: WARNING :warning:
For the time being, two other packages are installed, but these components will be removed from the metapackage in a future release.
BuildVersionContribute
Qiskit Aer
Qiskit IBM Quantum Provider
+ +### Optional components + +These components are part of the Qiskit ecosystem but are built on top of +`qiskit` and are not installed by default with the meta-package. You can either +install them manually, as an optional extra +(ie `pip install "qiskit[finance,experiments]"`), or all together with +`pip install "qiskit[all]"`. + +| Build | Version | Contribute | +| --- | --- | --- | +| [**Qiskit Optimization**](https://github.com/Qiskit/qiskit-optimization) | [![](https://img.shields.io/github/release/Qiskit/qiskit-optimization.svg?)](https://github.com/Qiskit/qiskit-optimization/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-optimization.svg?)](https://github.com/Qiskit/qiskit-optimization) | +| [**Qiskit Finance**](https://github.com/Qiskit/qiskit-finance) | [![](https://img.shields.io/github/release/Qiskit/qiskit-finance.svg?)](https://github.com/Qiskit/qiskit-finance/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-finance.svg?)](https://github.com/Qiskit/qiskit-finance) | +| [**Qiskit Machine Learning**](https://github.com/Qiskit/qiskit-machine-learning) | [![](https://img.shields.io/github/release/Qiskit/qiskit-machine-learning.svg?)](https://github.com/Qiskit/qiskit-machine-learning/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-machine-learning.svg?)](https://github.com/Qiskit/qiskit-machine-learning) | +| [**Qiskit Nature**](https://github.com/Qiskit/qiskit-nature) | [![](https://img.shields.io/github/release/Qiskit/qiskit-nature.svg?)](https://github.com/Qiskit/qiskit-nature/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-nature.svg?)](https://github.com/Qiskit/qiskit-nature) | +| [**Qiskit Experiments**](https://github.com/Qiskit/qiskit-experiments) | [![](https://img.shields.io/github/release/Qiskit/qiskit-experiments.svg?)](https://github.com/Qiskit/qiskit-experiments/releases) | [![](https://img.shields.io/github/forks/Qiskit/qiskit-experiments.svg?)](https://github.com/Qiskit/qiskit-experiments) | + +### Using quantum services + +If you are interested in using quantum services (i.e. using a real quantum +computer, not a simulator) you can look at the Qiskit Partners program for +partner organizations that have provider packages available for their offerings: + +https://qiskit.org/documentation/partners/ + +## Contribution Guidelines + +If you'd like to contribute to Qiskit, please take a look at our +[contribution guidelines](https://qiskit.org/documentation/contributing_to_qiskit.html). This project adheres to Qiskit's [code of conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. + +We use [GitHub issues](https://github.com/Qiskit/qiskit/issues) for tracking requests and bugs. Please use our [Slack](https://qisk.it/join-slack) for discussion and simple questions. For questions that are more suited for a forum we use the Qiskit tag in the [Stack Exchange](https://quantumcomputing.stackexchange.com/questions/tagged/qiskit). + +## Next Steps + +Now you're set up and ready to check out our +[Qiskit Tutorials](https://github.com/Qiskit/qiskit-tutorials) repository. + +## Authors and Citation + +Qiskit is the work of [many people](AUTHORS) who contribute to the project at +different levels. If you use Qiskit, please cite as per the included +[BibTeX file](Qiskit.bib). + +## License + +[Apache License 2.0](LICENSE.txt) + +%prep +%autosetup -n qiskit-0.42.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-qiskit -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Apr 10 2023 Python_Bot - 0.42.1-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..3aa53b9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +34509bf8c910c63deecbe0da123005df qiskit-0.42.1.tar.gz -- cgit v1.2.3