You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are various ways of doing so... a straightforward one would be to parallelize some of the computations with open mp.
There are also ways of optimizing the execution of some gates.
qiskit aer does it, they have a tensor class oriented towards qubits computations (it holds internally matrices and execution of many operations is optimized), this implementation is more generic and uses Eigen tensors (with suboptimal data copying between matrices and tensors back and forth).
I probably won't go that path, unless really necessary.
The text was updated successfully, but these errors were encountered:
Another thing that could be used to improve the speed: use multithreading. Eigen tensors have support for 'thread pools', for example one can do a contraction using multiple threads. See Eigen::ThreadPool and Eigen::ThreadPoolDevice for details.
There are various ways of doing so... a straightforward one would be to parallelize some of the computations with open mp.
There are also ways of optimizing the execution of some gates.
qiskit aer does it, they have a tensor class oriented towards qubits computations (it holds internally matrices and execution of many operations is optimized), this implementation is more generic and uses Eigen tensors (with suboptimal data copying between matrices and tensors back and forth).
I probably won't go that path, unless really necessary.
The text was updated successfully, but these errors were encountered: