Cove.LocalSimulation provides and implementation of Cove.Base that simulates a quantum computer. This implementation allows for users to write and run small scale quantum applications.
|C#||Visual Basic||Visual C++|
Constants used within the local simulation
This is the base class for all single qubit operations.
A base class for single qubit operations, just wrap the target qubit ops into a base class.
The controlled not, or CNot, operation. If the control qubit is |1> then the Not (X gate) operation is performed on the target qubit.
For this n qubit operation there is 1 control qubit and n - 1 target qubits. The single qubit operation functions on all target qubits if the control qubit is |1>.
The Fredkin operation, which is also known as controlled swap.
The Hadamard operation.
The Identity operation. This is essentially a no operation since it leaves the qubit in the original state
The identity operation over n qubits.
The Not operation. Also known as the Pauli X gate.
Perform an arbitrary phase shift on a qubit.
This operation resets a qubit to 0. This is not reversible unless bundled as a control in special cases, such as controlled reset in the modular adder for Shor's.
Arbitrary rotation, a more general S or T gate. Used by the quantum Fourier transform as the target of control operations
Rotate a qubit by an arbitrary angle abou the X axis.
This operation rotates a qubit about the Y axis by an arbitrary angle.
This operation rotates a qubit about the Z axis by an arbitrary angle.
Static instances of all the operations so they can be used easily.
The S Gate operation
This is the class for the swap operation. This swaps the two qubits it operates on.
The T Gate operation
This class represents the Toffoli operation. This is also known as the double controlled not or controlled-controlled not. If the two control qubits are |1> then the single target qubit is flipped. If not, then nothing happens.
The Pauli Y Gate
The Pauli Z gate
This class provides functions to perform common quantum algorithms. This allows users to perform some typical quantum algorithms without being concerned about the implementation details.
A quantum register is a collection of qubits.
This class contains everything to factor a number using Shor's algorithm.
Allow for common states of quantum registers to be easily obtained.