Cove - A Practical Quantum Computer Programming Framework
OperationSGate Method (Index)
NamespacesCove.BaseIQuantumRegisterOperationSGate(Int32)
Apply the S gate (phase gate) to the qubit at the specified index.
Declaration Syntax
C#Visual BasicVisual C++
IQuantumRegister OperationSGate(
	int Index
)
Function OperationSGate ( _
	Index As Integer _
) As IQuantumRegister
IQuantumRegister^ OperationSGate(
	int Index
)
Parameters
Index (Int32)
Index of the qubit to apply the operation to.
Return Value
A reference to this register after the operation has been applied.
Exceptions
ExceptionCondition
IndexOutOfRangeExceptionThrown if the index specified is out of range.

Assembly: Cove.Base (Module: Cove.Base) Version: 1.0.0.0 (1.0.0.0)