-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing Tests in Test_OpenQasmDevice.cpp
when installing on MacOS
#1184
Comments
Thanks for reporting this @ystade! This looks like it is because one of the tests depends on the braket plugin being installed ( Ideally though we should ensure that this test is skipped if braket is not installed. |
This is true, we normally skip pytests if an optional package is not installed. In this case it looks to be a C++ that was added not too long ago 🤔 @ystade Normally all test and build dependencies are covered by |
The problem here seems to be very macOS specific. Everything succeeds on a fresh install of Catalyst on Ubuntu.
where |
Ah, thanks for surfacing the actual issue @burgholzer! We'll look into it. |
Issue description
Expected behavior
When following the installation guide on https://docs.pennylane.ai/projects/catalyst/en/stable/dev/installation.html#minimal-building-from-source-guide for MacOS, after the step
make test
all tests should pass.Actual behavior
make test
the last lines of the output are the following:System information
Machine: Mac M1, Mac M2, Mac M3, with MacOS 15.0.1 installed.
Python used in a virtualenv: 3.11.9 and 3.12.6
The output of
import pennylane as qml; qml.about()
:Name: PennyLane Version: 0.39.0.dev26 Summary: PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network. Home-page: https://github.com/PennyLaneAI/pennylane Author: Author-email: License: Apache License 2.0 Location: /Users/yannick/.pyenv/versions/catalyst/lib/python3.11/site-packages Requires: appdirs, autograd, autoray, cachetools, networkx, numpy, packaging, pennylane-lightning, requests, rustworkx, scipy, toml, typing-extensions Required-by: amazon-braket-pennylane-plugin, PennyLane-Catalyst, PennyLane_Lightning, PennyLane_Lightning_Kokkos Platform info: macOS-15.0.1-arm64-arm-64bit Python version: 3.11.9 Numpy version: 2.0.0 Scipy version: 1.13.0 Installed devices: - default.clifford (PennyLane-0.39.0.dev26) - default.gaussian (PennyLane-0.39.0.dev26) - default.mixed (PennyLane-0.39.0.dev26) - default.qubit (PennyLane-0.39.0.dev26) - default.qutrit (PennyLane-0.39.0.dev26) - default.qutrit.mixed (PennyLane-0.39.0.dev26) - default.tensor (PennyLane-0.39.0.dev26) - null.qubit (PennyLane-0.39.0.dev26) - reference.qubit (PennyLane-0.39.0.dev26) - lightning.qubit (PennyLane_Lightning-0.39.0.dev38) - nvidia.custatevec (PennyLane-Catalyst-0.9.0.dev30) - nvidia.cutensornet (PennyLane-Catalyst-0.9.0.dev30) - oqc.cloud (PennyLane-Catalyst-0.9.0.dev30) - softwareq.qpp (PennyLane-Catalyst-0.9.0.dev30) - lightning.kokkos (PennyLane_Lightning_Kokkos-0.39.0.dev38) - braket.aws.ahs (amazon-braket-pennylane-plugin-1.30.1) - braket.aws.qubit (amazon-braket-pennylane-plugin-1.30.1) - braket.local.ahs (amazon-braket-pennylane-plugin-1.30.1) - braket.local.qubit (amazon-braket-pennylane-plugin-1.30.1)
Additional information
The text was updated successfully, but these errors were encountered: