5 // order of matrix elements is [row][column]!!!
7 int main( int argc, char *argv[])
11 printf("randommultipleinputPaulis arguments: \"number of qubits\" \"number of T gates\" \"number of Paulis\"\n");
15 int N = atoi(argv[1]); // number of qubits
16 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)
17 int numPaulis = atoi(argv[3]);
23 srand((unsigned)time(NULL));
28 for(i=0; i<numPaulis; i++) {
30 //r = rand()%4; printf("%d\n",r); // omega
34 printf("%d %d %d %d\n", r==0, r==1, r==2, r==3);