Interface for the Rotation by K, a more general S or T gate. Used in
the quantum Fourier transform as the target of a control operation

Declaration Syntax

C# | Visual Basic | Visual C++ |

public interface IOperationRotateK : IQubitOperation, IQuantumOperation, ICoveObject

Public Interface IOperationRotateK _ Implements IQubitOperation, IQuantumOperation, ICoveObject

public interface class IOperationRotateK : IQubitOperation, IQuantumOperation, ICoveObject

Members

All Members | Methods | ||||

Icon | Member | Description |
---|---|---|

Clone()()() |
Return a clone (deep copy) of the current operation. This operation returned can be modified
without any impact to this object. Unlike quantum registers, quantum operations cannot be
in superposition- hence a clone of them does not violate the no-cloning theorem.
| |

Combine(IQuantumOperation) |
Combine two same sized operations into one.
(Inherited from IQuantumOperation.) | |

GetK()()() |
Get the K value of this operation
| |

GetOperationAndTargets()()() |
Get a string that shows the operations name and target. An example might
be something like "CNOT: Control = 0, Target = 2".
(Inherited from IQuantumOperation.) | |

GetOperationMatrix()()() |
Return the matrix that represents this operation
(Inherited from IQubitOperation.) | |

GetTargetQubit()()() |
Get the target index of this single qubit operation.
(Inherited from IQubitOperation.) | |

IsValidOperation()()() |
Is this a valid quantum operation? All quantum operations must be unitary,
so this allows for all operations to be checked before they are applied to
registers.
(Inherited from IQuantumOperation.) | |

NumberOfQubitsOperatesOn()()() |
Returns the number of qubits that the operation operates on. For example
a CNot operation would return 2 since there are two qubits, target and control.
(Inherited from IQuantumOperation.) | |

SetK(Double) |
Set the K value of this operation.
| |

SetTargetQubit(Int32) |
Set the target index of this single qubit operation.
(Inherited from IQubitOperation.) | |

Tensor(IQuantumOperation) |
Tensor two operations into one combined one.
(Inherited from IQuantumOperation.) | |

ToString()()() |
Get the string representation of the object
(Inherited from ICoveObject.) |