Skip to content

Commit 85942a4

Browse files
authored
Fix failing wheels due to missing mbqc dialect module (#1710)
**Context:** The wheels were failing to build correctly due to the mbqc dialect python module not being available (e.g. https://github.com/PennyLaneAI/catalyst/actions/runs/14797406520) **Description of the Change:** Adds the mbqc dialect module to list of files to copy when building the wheels.
1 parent 5edce1b commit 85942a4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ wheel:
208208
# Copy mlir bindings & compiler driver to frontend/mlir_quantum
209209
mkdir -p $(MK_DIR)/frontend/mlir_quantum/dialects
210210
cp -R $(COPY_FLAGS) $(DIALECTS_BUILD_DIR)/python_packages/quantum/mlir_quantum/runtime $(MK_DIR)/frontend/mlir_quantum/runtime
211-
for file in gradient quantum _ods_common catalyst mitigation _transform; do \
211+
for file in gradient quantum _ods_common catalyst mbqc mitigation _transform; do \
212212
cp $(COPY_FLAGS) $(DIALECTS_BUILD_DIR)/python_packages/quantum/mlir_quantum/dialects/*$${file}* $(MK_DIR)/frontend/mlir_quantum/dialects ; \
213213
done
214214
mkdir -p $(MK_DIR)/frontend/bin

doc/releases/changelog-dev.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@
104104
](https://docs.pennylane.ai/en/stable/code/api/pennylane.ftqc.measure_arbitrary_basis.html), are
105105
now QJIT-compatible with program capture enabled.
106106
[(#1645)](https://github.com/PennyLaneAI/catalyst/pull/1645)
107+
[(#1710)](https://github.com/PennyLaneAI/catalyst/pull/1710)
107108

108109
* The utility function `EnsureFunctionDeclaration` is refactored into the `Utils` of the `Catalyst`
109110
dialect, instead of being duplicated in each individual dialect.

0 commit comments

Comments
 (0)