A 5-Qubit Quantum Computing Simulator


[Up] [Top]

Documentation for package ‘QCSimulator’ version 0.0.1

Help Pages

CHadamard controlled Hadamard Gate
CNOT2_01 2 qubit CNOT gate (control-0,target-1)
CNOT2_10 2 qubit CNOT gate (control-1,target-0)
CNOT3_01 3 qubit CNOT gate (control-0,target-1)
CNOT3_02 3 qubit CNOT gate (control-0,target-2)
CNOT3_10 3 qubit CNOT gate (control-1,target-0)
CNOT3_12 3 qubit CNOT gate (control-1,target-2)
CNOT3_20 3 qubit CNOT gate (control-2,target-0)
CNOT3_21 3 qubit CNOT gate (control-2,target-1)
CNOT4_01 4 qubit CNOT gate (control-0,target-1)
CNOT4_02 4 qubit CNOT gate (control-0,target-2)
CNOT4_03 4 qubit CNOT gate (control-0,target-3)
CNOT4_10 4 qubit CNOT gate (control-1,target-0)
CNOT4_12 4 qubit CNOT gate (control-1,target-2)
CNOT4_13 4 qubit CNOT gate (control-1,target-3)
CNOT4_20 4 qubit CNOT gate (control-2,target-0)
CNOT4_21 4 qubit CNOT gate (control-2,target-1)
CNOT4_23 4 qubit CNOT gate (control-2,target-3)
CNOT4_30 4 qubit CNOT gate (control-3,target-0)
CNOT4_31 4 qubit CNOT gate (control-3,target-1)
CNOT4_32 4 qubit CNOT gate (control-3,target-2)
CNOT5_01 5 qubit CNOT gate (control-0,target-1)
CNOT5_02 5 qubit CNOT gate (control-0,target-2)
CNOT5_03 5 qubit CNOT gate (control-0,target-3)
CNOT5_04 5 qubit CNOT gate (control-0,target-4)
CNOT5_10 5 qubit CNOT gate (control-1,target-0)
CNOT5_12 5 qubit CNOT gate (control-1,target-2)
CNOT5_13 5 qubit CNOT gate (control-1,target-3)
CNOT5_14 5 qubit CNOT gate (control-1,target-4)
CNOT5_20 5 qubit CNOT gate (control-2,target-0)
CNOT5_21 5 qubit CNOT gate (control-2,target-1)
CNOT5_23 5 qubit CNOT gate (control-2,target-3)
CNOT5_24 5 qubit CNOT gate (control-2,target-4)
CNOT5_30 5 qubit CNOT gate (control-3,target-0)
CNOT5_31 5 qubit CNOT gate (control-3,target-1)
CNOT5_32 5 qubit CNOT gate (control-3,target-2)
CNOT5_34 5 qubit CNOT gate (control-3,target-4)
CNOT5_40 5 qubit CNOT gate (control-4,target-0)
CNOT5_41 5 qubit CNOT gate (control-4,target-1)
CNOT5_42 5 qubit CNOT gate (control-4,target-2)
CNOT5_43 5 qubit CNOT gate (control-4,target-3)
CPauliX Controlled Pauli X gate
CPauliY Controlled Pauli Y gate
CPauliZ Controlled Pauli Z gate
CSWAP Controlled SWAP gate
DotProduct Dot product of 2 vectors
GateDagger Gate dagger of a vector
Hadamard Hadamard gate
init Initialization
innerProduct Inner product of 2 vectors and computes the angle between vectors
measurement Computes the square of the modulus
PauliX Controlled Pauli X gate
PauliY Controlled Pauli Y gate
PauliZ Controlled Pauli Z gate
plotMeasurement This function plots the result of a measurement
RotationGate This fucntion applies the rotation gate
S1Gate Controlled S1Gate
SGate Apply a SGate
SWAPQ0Q1 SWAP Q0 Q1
T1Gate Apply a T1Gate
TensorProd Tensor product of 2 vectors
TGate Apply a TGate
Toffoli Apply a Toffoli gate
ToffoliState Apply a Toffoli state