diff --git a/tutorials/10_basic_vqe.ipynb b/tutorials/10_basic_vqe.ipynb index fb17ea88..837682e9 100644 --- a/tutorials/10_basic_vqe.ipynb +++ b/tutorials/10_basic_vqe.ipynb @@ -301,7 +301,7 @@ "source": [ "def vqe_func(params, *args):\n", " # Attach parameters to the transpiled circuit variables\n", - " bound_circs = [circ.bind_parameters(params) for circ in trans_circs]\n", + " bound_circs = [circ.assign_parameters(params) for circ in trans_circs]\n", " # Submit the job and get the resultant counts back\n", " counts = backend.run(bound_circs, shots=4096).result().get_counts()\n", " # Apply mitigation to get quasi-probabilities\n",