Currently if you do shots based execution on AerBackend and forget to add measurements the circuit will execute and return a BackendResult with no counts. BackendResult.get_counts will return an empty counter.
Maybe we should give a warning in this case and inform the user that their circuit has no measurements in it.
Currently if you do shots based execution on
AerBackend
and forget to add measurements the circuit will execute and return aBackendResult
with no counts.BackendResult.get_counts
will return an empty counter.Maybe we should give a warning in this case and inform the user that their circuit has no measurements in it.