Deletes register, given in argument, with its references, which enables freeing the memory by garbage collector.
Registers consume large amount of memory, so this method is very useful when computations are complex and requires many registers.
Namespace: QuantumAssembly: Quantum (in Quantum.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- register
- Type: Quantum Register
Register to delete. After deletion, this parameter becomes null.
See Also