Tensor two operations into one combined one.

C# | Visual Basic | Visual C++ |
public IQuantumOperation Tensor( IQuantumOperation Operation )
Public Function Tensor ( _ Operation As IQuantumOperation _ ) As IQuantumOperation
public: virtual IQuantumOperation^ Tensor( IQuantumOperation^ Operation ) sealed

- Operation (IQuantumOperation)
- Operation to tensor this one with.

The tensored operation.

Exception | Condition |
---|---|
ArgumentException | Thrown if the Operation parameter does not
derive from GeneralSimulatedOperation. |
DuplicateIndexesException | Thrown if any of the targets of the
two operations are the same. |