def apply_not_gate()

in qumat/qiskit_backend.py [0:0]


def apply_not_gate(circuit, qubit_index):
    # Apply a NOT gate (X gate) on the specified qubit
    circuit.x(qubit_index)