#include #include #include // order of matrix elements is [row][column]!!! int main( int argc, char *argv[]) { if(argc != 4) { printf("randommultipleinputPaulis arguments: \"number of qubits\" \"number of T gates\" \"number of Paulis\"\n"); exit(0); } int N = atoi(argv[1]); // number of qubits int T = atoi(argv[2]); // number of T gate magic states (set to the first 'K' of the 'N' qubits -- the rest are set to the '0' computational basis state) int numPaulis = atoi(argv[3]); printf("%d\n", N); //printf("%d\n", T); int r; srand((unsigned)time(NULL)); int i, j; for(i=0; i