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.
Declaration Syntax
C# | Visual Basic | Visual C++ |
namespace Cove.LocalSimulation
Namespace Cove.LocalSimulation
namespace Cove.LocalSimulation
Types
All Types | Classes |
Icon | Type | Description |
---|---|---|
Constants |
Constants used within the local simulation
| |
GeneralSimulatedOperation | This is the base class for all single qubit operations. | |
GeneralSimulatedQubitOperation |
A base class for single qubit operations, just wrap the
target qubit ops into a base class.
| |
OperationCNot |
The controlled not, or CNot, operation. If the control qubit is |1> then the Not (X gate)
operation is performed on the target qubit.
| |
OperationControlledU |
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>.
| |
OperationFredkin |
The Fredkin operation, which is also known as controlled swap.
| |
OperationHadamard |
The Hadamard operation.
| |
OperationIdentity |
The Identity operation. This is essentially a no operation since it leaves the
qubit in the original state
| |
OperationIdentityN |
The identity operation over n qubits.
| |
OperationNot |
The Not operation. Also known as the Pauli X gate.
| |
OperationPhaseShift |
Perform an arbitrary phase shift on a qubit.
| |
OperationReset |
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.
| |
OperationRotateK |
Arbitrary rotation, a more general S or T gate. Used by the quantum Fourier transform
as the target of control operations
| |
OperationRotateX |
Rotate a qubit by an arbitrary angle abou the X axis.
| |
OperationRotateY |
This operation rotates a qubit about the Y axis by an arbitrary angle.
| |
OperationRotateZ |
This operation rotates a qubit about the Z axis by an arbitrary angle.
| |
Operations |
Static instances of all the operations so they can be used easily.
| |
OperationSGate |
The S Gate operation
| |
OperationSwap |
This is the class for the swap operation. This swaps the two qubits it
operates on.
| |
OperationTGate |
The T Gate operation
| |
OperationToffoli |
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.
| |
OperationYGate |
The Pauli Y Gate
| |
OperationZGate |
The Pauli Z gate
| |
QuantumAlgorithms |
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.
| |
QuantumRegister |
A quantum register is a collection of qubits.
| |
ShorsAlgorithm |
This class contains everything to factor a number using Shor's algorithm.
| |
States |
Allow for common states of quantum registers to be easily obtained.
|