Skip to content

Commit f9d6f73

Browse files
andrijapaualbi3roJerryChen97actions-userSimoneGasperini
authored
merge dev into master part 2 (#1575)
This [PR](#1574) was stale since March 2025. We dusted it off and merged it into `dev`. Core wants to get it in for the v0.43 release to get it out of the way. --------- Co-authored-by: Christina Lee <chrissie.c.l@gmail.com> Co-authored-by: Yushao Chen (Jerry) <chenys13@outlook.com> Co-authored-by: GitHub Nightly Merge Action <actions@github.com> Co-authored-by: Simone Gasperini <simone.gasperini4@unibo.it> Co-authored-by: Alex Preciado <alex.preciado@xanadu.ai> Co-authored-by: Alan Martin <alan.martin@xanadu.ai> Co-authored-by: Alan Martin <53958929+Alan-eMartin@users.noreply.github.com> Co-authored-by: Isaac De Vlugt <isaacdevlugt@gmail.com> Co-authored-by: Isaac De Vlugt <34751083+isaacdevlugt@users.noreply.github.com> Co-authored-by: Paul Finlay <50180049+doctorperceptron@users.noreply.github.com> Co-authored-by: Mehrdad Malek <39844030+mehrdad2m@users.noreply.github.com>
1 parent 70ca5ab commit f9d6f73

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

demonstrations_v2/tutorial_how_to_quantum_just_in_time_compile_vqe_catalyst/demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def cost(params):
123123
@qml.qjit
124124
@qml.qnode(dev)
125125
def cost(params):
126-
qml.BasisState.compute_decomposition(hf, wires=range(qubits))
126+
qml.BasisState(hf, wires=range(qubits))
127127
qml.DoubleExcitation(params[0], wires=[0, 1, 2, 3])
128128
qml.DoubleExcitation(params[1], wires=[0, 1, 4, 5])
129129
return qml.expval(H)

demonstrations_v2/tutorial_how_to_quantum_just_in_time_compile_vqe_catalyst/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"executable_stable": true,
1212
"executable_latest": true,
1313
"dateOfPublication": "2024-04-26T00:00:00+00:00",
14-
"dateOfLastModification": "2025-09-22T15:48:14+00:00",
14+
"dateOfLastModification": "2025-10-16T04:00:00+00:00",
1515
"categories": [
1616
"Quantum Machine Learning",
1717
"Optimization",

0 commit comments

Comments
 (0)