Closed WrathfulSpatula closed 3 weeks ago
MAll() is much faster for generating a single measurement sample than MultiShotMeasure(). (Since the methods changed here occur at the ends of circuits, there's no reason not to "collapse" the state.)
MAll()
MultiShotMeasure()
By the way, here's what comparison against Qulacs could look like, only after this PR.
(@nathanshammah, was this your general idea for benchmarks? Because these can even go in the tutorial, as well.)
MAll()
is much faster for generating a single measurement sample thanMultiShotMeasure()
. (Since the methods changed here occur at the ends of circuits, there's no reason not to "collapse" the state.)