def test_unsupported_quil_instruction():
    """Convert a program with invalid or unsupported instructions."""
    with pytest.raises(UnsupportedQuilInstruction):
        circuit_from_quil("NOP")

    with pytest.raises(UnsupportedQuilInstruction):
        circuit_from_quil("RESET")
Convert a program with invalid or unsupported instructions.
cirq-rigetti/cirq_rigetti/quil_input_test.py