Qiskit, Quantum Computing, Quantum Simulation.
An important concept here is the expectation with respect to an operator. For any operator K, the expectation is given by the notation, <K>. If we are specifically given a state |x>, then the expectation of the operator K with respect to the state |x> is given by <x|K|x>. Why is this the case?