Skip to content

Commit

Permalink
Update failing demos (#1202)
Browse files Browse the repository at this point in the history
As name says. Lots of demos are failing after #1199 was merged. This PR
aims to fix all those failures.
  • Loading branch information
mudit2812 authored Aug 29, 2024
1 parent 1714f2a commit cdcaa53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ environment:
if [ '$(UPGRADE_PL)' = 'true' ]; then\
echo "Updating PennyLane and plugins to latest ... ";\
PYTHON_VENV_PATH=`$(POETRY_BIN) env info --path`;\
$$PYTHON_VENV_PATH/bin/python -m pip install --upgrade git+https://github.com/PennyLaneAI/[email protected]#egg=pennylane;\
$$PYTHON_VENV_PATH/bin/python -m pip install --upgrade git+https://github.com/PennyLaneAI/pennylane-cirq.git#egg=pennylane-cirq;\
$$PYTHON_VENV_PATH/bin/python -m pip install --upgrade git+https://github.com/PennyLaneAI/pennylane-qiskit.git#egg=pennylane-qiskit;\
$$PYTHON_VENV_PATH/bin/python -m pip install --upgrade git+https://github.com/PennyLaneAI/pennylane-qulacs.git#egg=pennylane-qulacs;\
$$PYTHON_VENV_PATH/bin/python -m pip install --extra-index-url https://test.pypi.org/simple/ PennyLane-Lightning --pre --upgrade;\
$$PYTHON_VENV_PATH/bin/python -m pip install --extra-index-url https://test.pypi.org/simple/ PennyLane-Catalyst --pre --upgrade;\
$$PYTHON_VENV_PATH/bin/python -m pip install --upgrade git+https://github.com/PennyLaneAI/[email protected]#egg=pennylane;\
fi;\
fi
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"dateOfPublication": "2022-09-02T00:00:00+00:00",
"dateOfLastModification": "2024-08-05T00:00:00+00:00",
"dateOfLastModification": "2024-08-28T00:00:00+00:00",
"categories": [
"Algorithms", "Quantum Computing"
],
Expand Down
2 changes: 1 addition & 1 deletion demonstrations/tutorial_quantum_circuit_cutting.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ def make_kraus_ops(num_wires: int):
# simulator. Luckily, PennyLane has just what we need:
#

device = qml.device("default.mixed", wires=tape.wires, shots=n_shots)
device = qml.device("default.mixed", wires=tape.wires)

######################################################################
# We only need a single run for each of the two generated tapes, ``tape0`` and
Expand Down

0 comments on commit cdcaa53

Please sign in to comment.