Comments (5)
There should be no problem, as long as it's faster than Apple's implementation. We should benchmark both and compare, we just haven't yet. The choice was more OpenBLAS vs Apple's. My preference was always OpenBLAS, but seems like on Mac, Apple's implementation is arguably faster, so we changed it despite of the fact that there seems to be some non-standard practices in the latter that cold lead to potential problems, or at least this is what other users of this library have been reported.
from qiskit-aer.
My point is that NumPy is a requirement that already is built against a specific blas implimentation. The aer installer should automatically link against that. This gives me, for example, the intel mkl for free. This allows one to test against different blas and time them quite easily by simply changing numpy, for example using the —nomkl flag in conda.
from qiskit-aer.
I see that there are versions of Numpy that are linked against OpenBLAS, depending on where Numpy comes from: Pypi -> OpenBlas , Conda -> mkl.
I guess that mkl version is faster for x86 architectures, but we still need to support Power architectures.
Anyway, letting the user choose their desired implementation sounds like a good thing to me.
I'm labeling this issue as an enhancement
for now.
from qiskit-aer.
With #543 merged, now we can chose which BAS implementation we want to build with.
from qiskit-aer.
It is not clear to me wether qiskit_aer depends completely on numpy (or a set of external packages) or not.
The rationale for the question is:
- if it does, to use Intel MKL libraries on x86, for me is enough to install an numpy version depending on those libs (Intel optimised provided by Intel);
- if it does not completely depends on numpy (or a set of external packages), then to use Intel MKL I would need to build from scratch.
from qiskit-aer.
Related Issues (20)
- V2 Primitives should not require transpilation HOT 1
- Should be possible to pass a backend to the Aer primitives HOT 3
- Missing `cp39-cp39-macosx_11_0_arm64` wheels since `0.14.1` HOT 3
- Performance difference for generating the unitary of a circuit using AerSimulator vs quantum_info.Operator HOT 3
- Control flow is not working after I upgrade to 0.14.1 HOT 1
- qiskit-aer-gpu throws an error when using AerSimulator(method='tensor_network', device='GPU') HOT 1
- Typo in docstring for qiskit_aer
- DeprecationWarning about Provider
- AerSimulator does not support expr.shift_left (Binary.Op.SHIFT_LEFT)
- Remove standalone
- Remove qobj
- Unavailability of Probabilities in result after successfull simulation HOT 4
- Progress bar for qiskit-aer
- Error when building cvxpy dependency in Ubuntu 22.04 HOT 2
- `QuantumCircuit.reverse_bits()` affects the state vector but not the density matrix HOT 2
- Some fake simulators throw NoiseError when running an empty circuit
- qiskit-aer not getting imported HOT 2
- Qiskit-aer-gpu does not work as expected HOT 3
- TypeError: (): incompatible function arguments. AerConfig, arg0: list[list[tuple[tuple[int, int], list[float]]]]) -> None HOT 4
- Qiskit is deprecating `qiskit.providers.models`, which it is used by Aer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qiskit-aer.