Quantcast
Channel: Evaluating expectation values of operators in Qiskit - Quantum Computing Stack Exchange
Browsing latest articles
Browse All 2 View Live

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 Article



Evaluating 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
Browsing latest articles
Browse All 2 View Live




Latest Images