Research Article

Integration of a Quantum Voting Scheme into Grayscale Images Using the Novel Enhanced Quantum Representation and Qiskit Framework

Figure 7

The NEQR representation of the two pixels describing Alice’s vote: q-LSB0 (quantum register with 8 qubits) for the pixel in the upper-left corner (value 137) and q-LSB1 (quantum register with 8 qubits) for the pixel in the lower-right corner (value 74). Qubit , which belongs to the server, is set to state when the control qubits of the last Toffoli gate (after the second barrier) are both in state (so the voter has to configure his part of the circuit according to his vote and add, if necessary, NOT gates for q-LSB00 and q-LSB10). In this particular situation, the voter added a NOT gate for q-LSB10. The representation for each gray value is explained in detail in Figures 5 and 6.