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
If posting a PennyLane-Lightning issue, delete everything above the dashed line, and fill
in the template. If the issue is a bug, start the title of the issue with [BUG].
If making a feature request, delete the following template and describe, in detail,
the feature and why it is needed.
Description of the issue - include code snippets and screenshots here
if relevant. You may use the following template below
Expected behavior: (What you expect to happen)
C++ tests should pass with BLAS
Actual behavior: (What actually happens)
Tests fail
Reproduces how often: (What percentage of the time does it reproduce?)
System information: (post the output of import pennylane as qml; qml.about())
This is in fact caused by two convoluted problems:
matrixMatProd(m_left, m_right, .., transpose=true) function in Util.hpp transpose m_right (expected behaviour) when BLAS is not used, but BLAS version transpose m_left.
Currently C++ tests do not use BLAS even when -DENABLE_BLAS=ON is given as tests/CMakeLists.txt does not include external library or compile flags set by the options.
Fortunately, as wheels are built with DENABLE_BLAS=OFF, this does not cause an issue for usual users (unless someone compiles from the source directly). Still, I will fix this ASAP.
The text was updated successfully, but these errors were encountered:
Before posting an issue
Search existing GitHub issues to make sure the issue does not already exist:
https://github.com/xanaduai/pennylane-lightning/issues
If posting a PennyLane-Lightning issue, delete everything above the dashed line, and fill
in the template. If the issue is a bug, start the title of the issue with [BUG].
If making a feature request, delete the following template and describe, in detail,
the feature and why it is needed.
For general technical details check out our documentation:
https://pennylane-lightning.readthedocs.io/
Issue description
Description of the issue - include code snippets and screenshots here
if relevant. You may use the following template below
Expected behavior: (What you expect to happen)
C++ tests should pass with BLAS
Actual behavior: (What actually happens)
Tests fail
Reproduces how often: (What percentage of the time does it reproduce?)
System information: (post the output of
import pennylane as qml; qml.about()
)This is in fact caused by two convoluted problems:
matrixMatProd(m_left, m_right, .., transpose=true)
function inUtil.hpp
transposem_right
(expected behaviour) when BLAS is not used, but BLAS version transposem_left
.-DENABLE_BLAS=ON
is given astests/CMakeLists.txt
does not include external library or compile flags set by the options.Fortunately, as wheels are built with
DENABLE_BLAS=OFF
, this does not cause an issue for usual users (unless someone compiles from the source directly). Still, I will fix this ASAP.The text was updated successfully, but these errors were encountered: