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