OperationControlledU Constructor (TargetOperation, ControlIndex, TargetIndex)
Cove - A Practical Quantum Computer Programming Framework
OperationControlledU Constructor (TargetOperation, ControlIndex, TargetIndex)
NamespacesCove.LocalSimulationOperationControlledUOperationControlledU(IQubitOperation, Int32, Int32)
Overloaded constructor to set the target operation along with the control and target indexes
Declaration Syntax
C#Visual BasicVisual C++
public OperationControlledU(
	IQubitOperation TargetOperation,
	int ControlIndex,
	int TargetIndex
)
Public Sub New ( _
	TargetOperation As IQubitOperation, _
	ControlIndex As Integer, _
	TargetIndex As Integer _
)
public:
OperationControlledU(
	IQubitOperation^ TargetOperation, 
	int ControlIndex, 
	int TargetIndex
)
Parameters
TargetOperation (IQubitOperation)

[Missing <param> documentation for "TargetOperation"]

ControlIndex (Int32)

[Missing <param> documentation for "ControlIndex"]

TargetIndex (Int32)

[Missing <param> documentation for "TargetIndex"]

Exceptions
ExceptionCondition
ArgumentExceptionThrown if TargetOperation does not derive from GeneralSimulatedQubitOperation. The local simulation can only work on operations derived from it.

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