API Reference
Qctrl.
start_collection_mode
Starts collection mode. All function calls will be collected and executed when the collector object exits.
collector (ParallelExecutionCollector) – the collector object where function calls are stored.
RuntimeError – unable to enter collection mode if already collecting.