x method

void x(
  1. int qbit
)

Implementation

void x(int qbit) {
  gates.add(X(qbit));
}