def METHOD_NAME(self):
    # Pyquil Gate Applicator
    gate_applicator = self.pyquil_gate_applicator
    # Two Qubit Gate Tests
    empty_program = Program()
    llgate = CZ(gate_applicator, 0, 1)
    output_program = llgate.apply_gate(empty_program)
    test_program = Program().inst(p_CZ(0, 1))
    output_gate_names = [
        instr.name for instr in output_program if type(instr) == quilbase.Gate
    ]
    test_gate_names = [
        instr.name for instr in test_program if type(instr) == quilbase.Gate
    ]
    self.assertEqual(output_gate_names, test_gate_names)
    empty_program = Program()
    llgate = CX(gate_applicator, 0, 1)
    output_program = llgate.apply_gate(empty_program)
    test_program = Program().inst(p_CX(0, 1))
    output_gate_names = [
        instr.name for instr in output_program if type(instr) == quilbase.Gate
    ]
    test_gate_names = [
        instr.name for instr in test_program if type(instr) == quilbase.Gate
    ]
    self.assertEqual(output_gate_names, test_gate_names)