Expectation value calculation

Aim of the experiment

To calculate the expectation value of a quantum observable for a given qubit state.