This R package simulates a 5 qubit Quantum Computer QCSimulator can simulate the following quantum gates
1.Pauli X,Y,Z, S,S’, T, T’ gates 2. Rotation , Hadamard,CSWAP,Toffoli gates 3. 2,3,4,5 qubit CNOT gates e.g CNOT2_01,CNOT3_20,CNOT4_13 etc 4. Toffoli State,SWAPQ0Q1
For moe details on how to use QCSimulator see Introducing QCSimulator: A 5-qubit quantum computing simulator in R