qrisp.interface.BatchedBackend.clear#
- BatchedBackend.clear() None[source]#
Discard all queued circuits without dispatching.
Any
MeasurementResultobjects previously returned byrun()for the cleared circuits remain unpopulated. Accessing them afterclear()raisesRuntimeError.