SRI-International / QC-App-Oriented-Benchmarks

QED-C: The Quantum Economic Development Consortium provides these computer programs and software for use in the fields of quantum science and engineering.
Apache License 2.0
131 stars 75 forks source link

Kernel Finalised with Circuit Drawing #546

Closed Anishgiri01 closed 1 week ago

Anishgiri01 commented 1 week ago

Kernel Module has been finalised with printing for circuit when n_qubits == 6.

Problem earlier: When we ran the code for any number of qubits, it printed the circuit for the highest qubit because the way the code was implemented was that the code would exit the for loop and print for the highest number of the qubit. Because of the class structure, it was difficult to have control over a particular number of qubit, so I made an easy implementation by just putting an if statement when you call object's kernel draw.