diff --git a/Makefile b/Makefile index 1338fd8c6e..46f7adf042 100644 --- a/Makefile +++ b/Makefile @@ -150,7 +150,7 @@ ifeq ($(ENABLE_ASAN) $(PLATFORM),ON Darwin) endif @echo "check the Catalyst demos" MDD_BENCHMARK_PRECISION=1 \ - $(ASAN_COMMAND) $(PYTHON) -m pytest demos/*.ipynb --nbmake $(PARALLELIZE) + $(ASAN_COMMAND) $(PYTHON) -m pytest demos --nbmake $(PARALLELIZE) wheel: echo "INSTALLED = True" > $(MK_DIR)/frontend/catalyst/_configuration.py diff --git a/demos/qml/tutorial_qft_arithmetics.ipynb b/demos/qml/tutorial_qft_arithmetics.ipynb index 3b5a669618..7a30e77f6a 100644 --- a/demos/qml/tutorial_qft_arithmetics.ipynb +++ b/demos/qml/tutorial_qft_arithmetics.ipynb @@ -245,7 +245,7 @@ "\n", " fourier_add_const(k, range(n_wires))\n", "\n", - " qml.adjoint(qml.QFT)(wires=range(n_wires))\n", + " qml.adjoint(qml.QFT)(wires=list(range(n_wires)))\n", "\n", " return qml.sample()\n", "\n",