Skip to content

Commit e4e8450

Browse files
Remove reference to non-existent option (#4297)
`skip_transpilation` no longer exists. The main point of the preceding step was translating to the target backend. There is no need to comment further on the relation between these steps. Closes #4266 --------- Co-authored-by: Frank Harkins <frankharkins@hotmail.co.uk>
1 parent fc38d39 commit e4e8450

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

docs/tutorials/quantum-kernel-training.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
"\n",
230230
"Use the `Sampler` primitive from Qiskit Runtime to reconstruct a quasi-probability distribution of states yielded from sampling the circuit. For the task of generating a kernel matrix, we are particularly interested in the probability of measuring the |0> state.\n",
231231
"\n",
232-
"Since we optimized the circuit for the backend in Step 2, we can avoid doing transpilation on the Runtime server by setting `skip_transpilation=True` and passing the optimized circuit to the `Sampler`. For this demo, we will run on a QPU with `qiskit-ibm-runtime` primitives. To run on `qiskit` statevector-based primitives, replace the block of code using Qiskit IBM&reg; Runtime primitives with the commented block."
232+
"For this demo, we will run on a QPU with `qiskit-ibm-runtime` primitives. To run on `qiskit` statevector-based primitives, replace the block of code using Qiskit IBM&reg; Runtime primitives with the commented block."
233233
]
234234
},
235235
{

docs/tutorials/spin-chain-vqe.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
"\n",
240240
"Minimize the estimated ground state energy of the system by optimizing the circuit parameters. Use the `Estimator` primitive from Qiskit Runtime to evaluate the cost function during optimization.\n",
241241
"\n",
242-
"Since we optimized the circuit for the backend in Step 2, we can avoid doing transpilation on the Runtime server by setting `skip_transpilation=True` and passing the optimized circuit. For this demo, we will run on a QPU using `qiskit-ibm-runtime` primitives. To run with `qiskit` statevector-based primitives, replace the block of code using Qiskit IBM Runtime primitives with the commented block."
242+
"For this demo, we will run on a QPU using `qiskit-ibm-runtime` primitives. To run with `qiskit` statevector-based primitives, replace the block of code using Qiskit IBM Runtime primitives with the commented block."
243243
]
244244
},
245245
{

learning/courses/quantum-machine-learning/quantum-kernel-methods.ipynb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@
6363
"\n",
6464
"Use the `Sampler` primitive from Qiskit Runtime to reconstruct a probability distribution of states yielded from sampling the circuit. Note that you may see this referred to as a \"quasi-probability distribution\", a term which is applicable where noise is an issue and when extra steps are introduced, such as in error mitigation. In such cases, the sum of all probabilities may not exactly equal 1; hence \"quasi-probability\".\n",
6565
"\n",
66-
"Since we optimized the circuit for the backend in Step 2, we can avoid doing transpilation on the Runtime server by setting `skip_transpilation=True` and passing the optimized circuit to the `Sampler`.\n",
67-
"\n",
6866
"### Step 4: Post-process, return result in classical format\n",
6967
"\n",
7068
"* Input: Probability distribution\n",

0 commit comments

Comments
 (0)