Cove - A Practical Quantum Computer Programming Framework
Tensor Method (Operation)
NamespacesCove.LocalSimulationGeneralSimulatedOperationTensor(IQuantumOperation)
Tensor two operations into one combined one.
Declaration Syntax
C#Visual BasicVisual C++
public IQuantumOperation Tensor(
	IQuantumOperation Operation
)
Public Function Tensor ( _
	Operation As IQuantumOperation _
) As IQuantumOperation
public:
virtual IQuantumOperation^ Tensor(
	IQuantumOperation^ Operation
) sealed
Parameters
Operation (IQuantumOperation)
Operation to tensor this one with.
Return Value
The tensored operation.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the Operation parameter does not derive from GeneralSimulatedOperation.
DuplicateIndexesExceptionThrown if any of the targets of the two operations are the same.

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