blob: caca1f538d8a8c9a7c8008cd0b71d26b461d04c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Iyán Méndez Veiga <me (at) iyanmv (dot) com>
_pkgname=qiskit-aer
pkgname=python-${_pkgname}
pkgver=0.8.2
pkgrel=2
pkgdesc="A high performance simulator for quantum circuits that includes noise models"
arch=('x86_64')
url="https://github.com/Qiskit/qiskit-aer"
license=('Apache')
depends=(
'cython'
'muparserx'
'nlohmann-json'
'openblas'
'python-numpy'
'python-qiskit-terra'
'python-scipy'
'spdlog'
)
optdepends=(
'cuda: Parallelization with CUDA (NVIDIA)'
'intel-tbb: Parallelization with Intel TBB'
'openmp: Parallelization with OpenMP'
'thrust: Parallelization (GPU/CPU) support'
)
makedepends=(
'cmake'
'pybind11'
'python-pip'
'python-scikit-build'
'python-setuptools'
)
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/Qiskit/${_pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('bcf0ae0a00a44e3887d2f0ced083e1c27c916a73d29a61b08de63f3aa2a157a1')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
DISABLE_CONAN=ON python setup.py build
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
}
|