Which of the following circuits has the same output as that of the given circuit?

For the given circuit,
Option (B) represents a NAND gate with shorted inputs acting as a NOT gate:
Tagged Logic gates and digital circuits. Machine-assigned, so read it as a strong shortlist rather than a verdict.