code: def make_oracle(q0, q1, secret_function):
      
  
      # coverage: ignore
      if secret_function[0]:
          yield [CNOT(q0, q1), X(q1)]
  
      if secret_function[1]:
          yield CNOT(q0, q1)
docs: Gates implementing the secret function f(x).