Quantum Computing, Quantum Gate, Qiskit.
other wise remains unchanged. The same can be observed in the below Map 6. XNOR gate having equal number of 0’s and 1’s, no ancilla bit is needed. Map 6: XNOR gate -> Mapping and Matrix Fig 12: Achieved classical XNOR gate The net effect of the gate in this setting is: It keeps the 1st qubit