Register SqrtX Method A Sandcastle Documented Class Library

Performs the Square Root of Not on the target qubit. The Square Root of Not Gate is such a gate, that applied twice, performs Not operation. The operation can be represented as the unitary matrix:

Namespace: Quantum
Assembly: Quantum (in Quantum.dll) Version: (

public void SqrtX(
	int target,
	Nullable<int> control = null


Type: System Int32
The position of target qubit in register (0 indicates the Least Significant Bit).
control (Optional)
Type: System Nullable Int32 
Optional argument. If given, the method performs a controlled Square root of Not. This argument destribes the control qubit's position.
See Also