From efc80e2ec23bc2b7d3c8dc376a4b474ae2a1be50 Mon Sep 17 00:00:00 2001 From: Dongsin Kim Date: Wed, 16 Dec 2020 22:51:13 +0100 Subject: [PATCH] Fixed a typo on 04_vqe_advanced.ipynb --- tutorials/algorithms/04_vqe_advanced.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/algorithms/04_vqe_advanced.ipynb b/tutorials/algorithms/04_vqe_advanced.ipynb index 73b1a4cdf..b520d6c03 100644 --- a/tutorials/algorithms/04_vqe_advanced.ipynb +++ b/tutorials/algorithms/04_vqe_advanced.ipynb @@ -172,7 +172,7 @@ "\n", "For most cases letting VQE create a suitable instance is sufficient. However the Qiskit Aer qasm_simulator supports a snapshot instruction that can be used in conjunction with the operator expectation computation. If used then the outcome is ideal, i.e. like the statevector simulator, and has no shot noise. Since people normally choose the qasm_simulator to have shot noise (sampling noise), and be more like a real-device outcome, VQE has an `include_custom` flag that is passed on to the ExpectationFactory. When using Aer qasm simulator, and this is set `True`, the factory will return `AerPauliExpectation` which uses the snapshot instruction, when `False`, default, then the regular `PauliExpectation` is returned.\n", "\n", - "The following example shows `include_custom=True` where the outcome matches the statevector simulator. In fact it can be better/faster to do this than use the statevector_simulator directly. This is because in the latter case when the Hamiltonian is a sum of Paulis it must be converted to matrix form, and this is avoided when when using the snapshot instruction done when include_custom is True." + "The following example shows `include_custom=True` where the outcome matches the statevector simulator. In fact it can be better/faster to do this than use the statevector_simulator directly. This is because in the latter case when the Hamiltonian is a sum of Paulis it must be converted to matrix form, and this is avoided when using the snapshot instruction done when include_custom is True." ] }, {