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.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public IOperationNot Clone()
Public Function Clone As IOperationNot
public: virtual IOperationNot^ Clone() sealed
Return Value
The cloned object.