Effectiveness of the syndrome extraction circuit with flag qubits on IBM quantum hardware | Synapse