SetTargetOperation Method (TargetOperation)
Cove - A Practical Quantum Computer Programming Framework
SetTargetOperation Method (TargetOperation)
NamespacesCove.LocalSimulationOperationControlledUSetTargetOperation(IQubitOperation)
Set the target operation. This will be applied if the control qubit is set. The target index of this operation is ignored- it will be the target index of this operation.
Declaration Syntax
C#Visual BasicVisual C++
public void SetTargetOperation(
	IQubitOperation TargetOperation
)
Public Sub SetTargetOperation ( _
	TargetOperation As IQubitOperation _
)
public:
virtual void SetTargetOperation(
	IQubitOperation^ TargetOperation
) sealed
Parameters
TargetOperation (IQubitOperation)
The new target operation
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)