QuantumComputer DeleteRegister Method A Sandcastle Documented Class Library
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: Quantum
Assembly: Quantum (in Quantum.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void DeleteRegister(
	ref Register register
)

Parameters

register
Type: Quantum Register 
Register to delete. After deletion, this parameter becomes null.
See Also