Metrics

Helper functions to compare measurement distributions and statevectors produced by the simulator with reference results.