From b8b940d3376e78ef07e3a79e0e82b838aa253df5 Mon Sep 17 00:00:00 2001 From: Astral Cai Date: Fri, 8 Mar 2024 10:52:47 -0500 Subject: [PATCH] change qml.load to qml.from_qiskit (#492) --- tests/test_integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_integration.py b/tests/test_integration.py index ac34ece1c..e58b6bf19 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -228,7 +228,7 @@ def test_load_qiskit_circuit(self): qc = qiskit.QuantumCircuit(2) qc.rx(theta, 0) - my_template = qml.load(qc, format="qiskit") + my_template = qml.from_qiskit(qc) dev = qml.device("default.qubit", wires=2)