Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834770 - dev-python/qiskit-terra-0.19.2 - Qiskit is an open-source SDK for working with quantum computers (New Package)
Summary: dev-python/qiskit-terra-0.19.2 - Qiskit is an open-source SDK for working wit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gábor Oszkár Dénes
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 834766 834767 834768 834769
Blocks: 834772
  Show dependency tree
 
Reported: 2022-03-08 08:55 UTC by Gábor Oszkár Dénes
Modified: 2022-07-15 10:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qiskit-terra-0.19.2 (qiskit-terra.tar.gz,3.08 KB, application/gzip)
2022-03-08 08:55 UTC, Gábor Oszkár Dénes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gábor Oszkár Dénes 2022-03-08 08:55:46 UTC
Created attachment 766580 [details]
qiskit-terra-0.19.2

Hi,
I would like to add dev-python/qiskit-terra-0.19.2 as a new package.

https://github.com/Qiskit/qiskit-terra

Qiskit is an open-source SDK for working with quantum computers. This element is Terra and is the foundation on which the rest of Qiskit is built.

I'm planning to add Qiskit library and it's elements to Gentoo.

The test feature does work on my computer.

As soon as I get access to GURU, I will add it to that repository. I added myself as a maintainer in the metadata.xml file, however, comaintainers are welcomed.

I suggest adding this package to dev-python instead of sci-libs/sci-physics/sci-mathematics, because quantum computers can be regarded as general purpose computers, like current classical computers. This library is made to use quantum computers to compute, not to investigate a specific scientific idea. Current computers also use physics and scientific knowledge to operate, quantum computers just use different set of scientific knowledge for the same purpose, but supposedly, with better algorithmic complexity.

Gabor.
Comment 1 Gábor Oszkár Dénes 2022-03-08 11:29:53 UTC
I'm planning to add qiskit meta package later, when more components are ready. This meta package would install all elements of Qiskit.

Also, I'd like to add bip-mapper and crosstalk-pass use flags later to qiskit-terra, when I figure out how they work. It will take a considerable amount of time, since they are not that important.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-08 12:23:03 UTC
(In reply to Gábor Oszkár Dénes from comment #1)
> I'm planning to add qiskit meta package later, when more components are
> ready. This meta package would install all elements of Qiskit.
> 
> Also, I'd like to add bip-mapper and crosstalk-pass use flags later to
> qiskit-terra, when I figure out how they work. It will take a considerable
> amount of time, since they are not that important.

Could you consider sharing a git am-able patch (use git format-patch) or making a github PR for these? It'd be a lot easier to review and merge together then.

(One PR for the whole lot, separate commits.)
Comment 3 Gábor Oszkár Dénes 2022-03-08 14:24:54 UTC
(In reply to Sam James from comment #2)

> Could you consider sharing a git am-able patch (use git format-patch) or
> making a github PR for these? It'd be a lot easier to review and merge
> together then.
> 
> (One PR for the whole lot, separate commits.)

Yes, I will do that soon on github. I was discouraged to create pull requests for new packages on the main repo, because there aren't enough resources for that.
Comment 4 Gábor Oszkár Dénes 2022-03-08 15:05:35 UTC
I'm happy to maintain this package along with tweedledum and qiskit-aer.
Comment 5 Gábor Oszkár Dénes 2022-03-09 09:37:37 UTC
Created the github pull request. All updates are there for the related packages.
https://github.com/gentoo/gentoo/pull/24455
Comment 6 Larry the Git Cow gentoo-dev 2022-07-15 02:12:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf1dfd6ccd654d848be0efaf8d061aad72b35a59

commit cf1dfd6ccd654d848be0efaf8d061aad72b35a59
Author:     Gábor Oszkár Dénes <gaboroszkar@protonmail.com>
AuthorDate: 2022-03-08 20:37:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-15 02:11:59 +0000

    dev-python/qiskit-terra: new package
    
    Closes: https://bugs.gentoo.org/834770
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Gábor Oszkár Dénes <gaboroszkar@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/qiskit-terra/Manifest                   |  1 +
 .../qiskit-terra-0.19.2-test-corrections.patch     | 36 +++++++++++
 dev-python/qiskit-terra/metadata.xml               | 24 ++++++++
 dev-python/qiskit-terra/qiskit-terra-0.19.2.ebuild | 70 ++++++++++++++++++++++
 4 files changed, 131 insertions(+)