GatesExtension 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.Operations
Assembly: Quantum (in Quantum.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void SqrtX(
	this QuantumComputer comp,
	RegisterRef target,
	Nullable<RegisterRef> control = null
)

Parameters

comp
Type: Quantum QuantumComputer
The QuantumComputer instance.
target
Type: Quantum RegisterRef
The reference to target qubit.
control (Optional)
Type: System Nullable RegisterRef 
Optional argument. If given, the method performs controlled gate operation. Destribes the reference to control qubit.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type QuantumComputer. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also