QuantumLibrary is a C++ library that simulates the behavior of quantum bits. It permits the development of quantum algorithms. It includes a transform operation that accepts any square matrices (does not check if the matrices are unitary). It computes quite rapidly as it use hastable (C++ map object) to keep the state of a register of quantum bits. Unitary operations are done in KN operations (K being the number of state in superposition, N being equal to 2 power q with q being the number of qubits on which the matrices operate.) instead of LL + LL (L being equal to 2 power n with n the number of qubits in the register.)

Project Page | Source Code | SubVersion Access