diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-10 22:44:39 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-10 22:44:39 +0000 |
| commit | cb947db7117e9ec682269698a913a8352ebe2ac8 (patch) | |
| tree | d87f60538be82e481e00bd6619f0d42bca387631 /python-qiskit.spec | |
| parent | c7d8493974a0e7d0a7d7da21aa5d6a772efa5e3c (diff) | |
automatic import of python-qiskit
Diffstat (limited to 'python-qiskit.spec')
| -rw-r--r-- | python-qiskit.spec | 363 |
1 files changed, 363 insertions, 0 deletions
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 + + +[](https://opensource.org/licenses/Apache-2.0) + + +[](https://github.com/Qiskit/qiskit/releases) +[](https://pypi.org/project/qiskit/) +[](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://github.com/Qiskit/qiskit-terra/releases) | [](https://github.com/Qiskit/qiskit-terra) | + +<table> + <tr> + <td colspan="3" align="center">:warning: WARNING :warning:</br> <b>For the time being, two other packages are installed, but these components will be removed from the metapackage in a future release.</b></td> + </tr> +<tr> +<th>Build</th> +<th>Version</th> +<th>Contribute</th> +</tr> +<tr> +<td><a href="https://github.com/Qiskit/qiskit-aer"><strong>Qiskit Aer</strong></a></td> +<td><a href="https://github.com/Qiskit/qiskit-aer/releases"><img src="https://camo.githubusercontent.com/7b4ebed2975693dc2d18233e49b7f9141838c1e86f22ac36f465fcd3886821b6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f5169736b69742f7169736b69742d6165722e7376673f" alt="" data-canonical-src="https://img.shields.io/github/release/Qiskit/qiskit-aer.svg?"></a></td> +<td><a href="https://github.com/Qiskit/qiskit-aer"><img src="https://camo.githubusercontent.com/ced831707852701ae4c21b1455d6c2d2a03fa54dffe09fcf5208970112023a05/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f5169736b69742f7169736b69742d6165722e7376673f" alt="" data-canonical-src="https://img.shields.io/github/forks/Qiskit/qiskit-aer.svg?"></a></td> +</tr> +<tr> +<td><a href="https://github.com/Qiskit/qiskit-ibmq-provider"><strong>Qiskit IBM Quantum Provider</strong></a></td> +<td><a href="https://github.com/Qiskit/qiskit-ibmq-provider/releases"><img src="https://camo.githubusercontent.com/daa12aee2f03d2d310bd6ad1a5c5babe99b038fc08ad9f0309f5e1c7420c9ffe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f5169736b69742f7169736b69742d69626d712d70726f76696465722e7376673f" alt="" data-canonical-src="https://img.shields.io/github/release/Qiskit/qiskit-ibmq-provider.svg?"></a></td> +<td><a href="https://github.com/Qiskit/qiskit-ibmq-provider"><img src="https://camo.githubusercontent.com/49f1938883f91358a594feeddecdd59b3188a353a9a20721a6fefcd64c32f6ce/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f5169736b69742f7169736b69742d69626d712d70726f76696465722e7376673f" alt="" data-canonical-src="https://img.shields.io/github/forks/Qiskit/qiskit-ibmq-provider.svg?"></a></td> +</tr> +</table> + +### 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://github.com/Qiskit/qiskit-optimization/releases) | [](https://github.com/Qiskit/qiskit-optimization) | +| [**Qiskit Finance**](https://github.com/Qiskit/qiskit-finance) | [](https://github.com/Qiskit/qiskit-finance/releases) | [](https://github.com/Qiskit/qiskit-finance) | +| [**Qiskit Machine Learning**](https://github.com/Qiskit/qiskit-machine-learning) | [](https://github.com/Qiskit/qiskit-machine-learning/releases) | [](https://github.com/Qiskit/qiskit-machine-learning) | +| [**Qiskit Nature**](https://github.com/Qiskit/qiskit-nature) | [](https://github.com/Qiskit/qiskit-nature/releases) | [](https://github.com/Qiskit/qiskit-nature) | +| [**Qiskit Experiments**](https://github.com/Qiskit/qiskit-experiments) | [](https://github.com/Qiskit/qiskit-experiments/releases) | [](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 + + +[](https://opensource.org/licenses/Apache-2.0) + + +[](https://github.com/Qiskit/qiskit/releases) +[](https://pypi.org/project/qiskit/) +[](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://github.com/Qiskit/qiskit-terra/releases) | [](https://github.com/Qiskit/qiskit-terra) | + +<table> + <tr> + <td colspan="3" align="center">:warning: WARNING :warning:</br> <b>For the time being, two other packages are installed, but these components will be removed from the metapackage in a future release.</b></td> + </tr> +<tr> +<th>Build</th> +<th>Version</th> +<th>Contribute</th> +</tr> +<tr> +<td><a href="https://github.com/Qiskit/qiskit-aer"><strong>Qiskit Aer</strong></a></td> +<td><a href="https://github.com/Qiskit/qiskit-aer/releases"><img src="https://camo.githubusercontent.com/7b4ebed2975693dc2d18233e49b7f9141838c1e86f22ac36f465fcd3886821b6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f5169736b69742f7169736b69742d6165722e7376673f" alt="" data-canonical-src="https://img.shields.io/github/release/Qiskit/qiskit-aer.svg?"></a></td> +<td><a href="https://github.com/Qiskit/qiskit-aer"><img src="https://camo.githubusercontent.com/ced831707852701ae4c21b1455d6c2d2a03fa54dffe09fcf5208970112023a05/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f5169736b69742f7169736b69742d6165722e7376673f" alt="" data-canonical-src="https://img.shields.io/github/forks/Qiskit/qiskit-aer.svg?"></a></td> +</tr> +<tr> +<td><a href="https://github.com/Qiskit/qiskit-ibmq-provider"><strong>Qiskit IBM Quantum Provider</strong></a></td> +<td><a href="https://github.com/Qiskit/qiskit-ibmq-provider/releases"><img src="https://camo.githubusercontent.com/daa12aee2f03d2d310bd6ad1a5c5babe99b038fc08ad9f0309f5e1c7420c9ffe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f5169736b69742f7169736b69742d69626d712d70726f76696465722e7376673f" alt="" data-canonical-src="https://img.shields.io/github/release/Qiskit/qiskit-ibmq-provider.svg?"></a></td> +<td><a href="https://github.com/Qiskit/qiskit-ibmq-provider"><img src="https://camo.githubusercontent.com/49f1938883f91358a594feeddecdd59b3188a353a9a20721a6fefcd64c32f6ce/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f5169736b69742f7169736b69742d69626d712d70726f76696465722e7376673f" alt="" data-canonical-src="https://img.shields.io/github/forks/Qiskit/qiskit-ibmq-provider.svg?"></a></td> +</tr> +</table> + +### 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://github.com/Qiskit/qiskit-optimization/releases) | [](https://github.com/Qiskit/qiskit-optimization) | +| [**Qiskit Finance**](https://github.com/Qiskit/qiskit-finance) | [](https://github.com/Qiskit/qiskit-finance/releases) | [](https://github.com/Qiskit/qiskit-finance) | +| [**Qiskit Machine Learning**](https://github.com/Qiskit/qiskit-machine-learning) | [](https://github.com/Qiskit/qiskit-machine-learning/releases) | [](https://github.com/Qiskit/qiskit-machine-learning) | +| [**Qiskit Nature**](https://github.com/Qiskit/qiskit-nature) | [](https://github.com/Qiskit/qiskit-nature/releases) | [](https://github.com/Qiskit/qiskit-nature) | +| [**Qiskit Experiments**](https://github.com/Qiskit/qiskit-experiments) | [](https://github.com/Qiskit/qiskit-experiments/releases) | [](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 + + +[](https://opensource.org/licenses/Apache-2.0) + + +[](https://github.com/Qiskit/qiskit/releases) +[](https://pypi.org/project/qiskit/) +[](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://github.com/Qiskit/qiskit-terra/releases) | [](https://github.com/Qiskit/qiskit-terra) | + +<table> + <tr> + <td colspan="3" align="center">:warning: WARNING :warning:</br> <b>For the time being, two other packages are installed, but these components will be removed from the metapackage in a future release.</b></td> + </tr> +<tr> +<th>Build</th> +<th>Version</th> +<th>Contribute</th> +</tr> +<tr> +<td><a href="https://github.com/Qiskit/qiskit-aer"><strong>Qiskit Aer</strong></a></td> +<td><a href="https://github.com/Qiskit/qiskit-aer/releases"><img src="https://camo.githubusercontent.com/7b4ebed2975693dc2d18233e49b7f9141838c1e86f22ac36f465fcd3886821b6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f5169736b69742f7169736b69742d6165722e7376673f" alt="" data-canonical-src="https://img.shields.io/github/release/Qiskit/qiskit-aer.svg?"></a></td> +<td><a href="https://github.com/Qiskit/qiskit-aer"><img src="https://camo.githubusercontent.com/ced831707852701ae4c21b1455d6c2d2a03fa54dffe09fcf5208970112023a05/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f5169736b69742f7169736b69742d6165722e7376673f" alt="" data-canonical-src="https://img.shields.io/github/forks/Qiskit/qiskit-aer.svg?"></a></td> +</tr> +<tr> +<td><a href="https://github.com/Qiskit/qiskit-ibmq-provider"><strong>Qiskit IBM Quantum Provider</strong></a></td> +<td><a href="https://github.com/Qiskit/qiskit-ibmq-provider/releases"><img src="https://camo.githubusercontent.com/daa12aee2f03d2d310bd6ad1a5c5babe99b038fc08ad9f0309f5e1c7420c9ffe/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f5169736b69742f7169736b69742d69626d712d70726f76696465722e7376673f" alt="" data-canonical-src="https://img.shields.io/github/release/Qiskit/qiskit-ibmq-provider.svg?"></a></td> +<td><a href="https://github.com/Qiskit/qiskit-ibmq-provider"><img src="https://camo.githubusercontent.com/49f1938883f91358a594feeddecdd59b3188a353a9a20721a6fefcd64c32f6ce/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f5169736b69742f7169736b69742d69626d712d70726f76696465722e7376673f" alt="" data-canonical-src="https://img.shields.io/github/forks/Qiskit/qiskit-ibmq-provider.svg?"></a></td> +</tr> +</table> + +### 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://github.com/Qiskit/qiskit-optimization/releases) | [](https://github.com/Qiskit/qiskit-optimization) | +| [**Qiskit Finance**](https://github.com/Qiskit/qiskit-finance) | [](https://github.com/Qiskit/qiskit-finance/releases) | [](https://github.com/Qiskit/qiskit-finance) | +| [**Qiskit Machine Learning**](https://github.com/Qiskit/qiskit-machine-learning) | [](https://github.com/Qiskit/qiskit-machine-learning/releases) | [](https://github.com/Qiskit/qiskit-machine-learning) | +| [**Qiskit Nature**](https://github.com/Qiskit/qiskit-nature) | [](https://github.com/Qiskit/qiskit-nature/releases) | [](https://github.com/Qiskit/qiskit-nature) | +| [**Qiskit Experiments**](https://github.com/Qiskit/qiskit-experiments) | [](https://github.com/Qiskit/qiskit-experiments/releases) | [](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 <Python_Bot@openeuler.org> - 0.42.1-1 +- Package Spec generated |
