Answer by Cryoris for Evaluating expectation values of operators in Qiskit
Note: This post is a bit older and Qiskit Aqua is now deprecated. Replace all occurences of qiskit.aqua.operators with qiskit.opflow to be compatible with Qiskit Terra 0.17.0 and above.The operators in...
View ArticleEvaluating expectation values of operators in Qiskit
I'm wondering how in Qiskit one can calculate the expectation value of an operator given as a WeightedPauli (or, at least, of a single Pauli operator...) in a certain state (given as a QuantumCircuit...
View Article
More Pages to Explore .....