Returns a slice (subset) of the register from StartIndex to the end, then has the operations applied to it.
|C#||Visual Basic||Visual C++|
- StartIndex ( )
- Starting index in the register to get the slice of.
- Operations (<(Of <(IQuantumOperation>)>))
- The operations to apply to the slice.
The quantum register representing the slice with the operation then applied.
Assembly: Cove.LocalSimulation (Module: Cove.LocalSimulation) Version: 126.96.36.199 (188.8.131.52)
|SizeMismatchException||Thrown if the number of qubits
any of the operations operates on does not match the size of the slice.
|Thrown if the start index is out of range.|
|NotUnitaryOperationException||Thrown if a non-unitary operation is
passed. All quantum operations must be unitary.|
|SizeMismatchException||Thrown if the size of one of the operations
does not match the size of the register.|
|Thrown if the operation does not have
AbstractSimulatedQuantumOperation as a base class.|