Cove - A Practical Quantum Computer Programming Framework
CarryInverse Method (CarryIndex, XIndex, YIndex, CarryPrimeIndex)
NamespacesCove.LocalSimulationQuantumAlgorithmsCarryInverse(Int32, Int32, Int32, Int32)
Return the operations to perform the inverse carry.
Declaration Syntax
C#Visual BasicVisual C++
public List<IQuantumOperation> CarryInverse(
	int CarryIndex,
	int XIndex,
	int YIndex,
	int CarryPrimeIndex
)
Public Function CarryInverse ( _
	CarryIndex As Integer, _
	XIndex As Integer, _
	YIndex As Integer, _
	CarryPrimeIndex As Integer _
) As List(Of IQuantumOperation)
public:
virtual List<IQuantumOperation^>^ CarryInverse(
	int CarryIndex, 
	int XIndex, 
	int YIndex, 
	int CarryPrimeIndex
) sealed
Parameters
CarryIndex (Int32)
The index of the carry qubit. Remains unchanged once the operations are applied.
XIndex (Int32)
The index of the X qubit. Remains unchanged once the operations are applied.
YIndex (Int32)
The index of the Y qubit. After the operations are applied this will be X + Y (mod 2 addition)
CarryPrimeIndex (Int32)
The index of the carry prime qubit. Will be x(x + y) + yc + c' on output.
Return Value
The operations to apply the carry inverse.
Exceptions
ExceptionCondition
DuplicateIndexesExceptionThrown if any of the indexes specified are duplicates.

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