def compiled_quil(self):
        """
        If the Quil program associated with the Job was compiled (e.g., to translate it to the
        QPU's natural gateset) return this compiled program.

        :rtype: Optional[Program]
        """
        prog = self._raw.get("program", {}).get("compiled-quil", None)
        if prog is not None:
            return parse_program(prog)
        else:
            # if we failed too early to even get a "compiled-quil" field,
            # then alert the user to that problem instead
            if self._raw['status'] == 'ERROR':
                return self.result()
If the Quil program associated with the Job was compiled (e.g., to translate it to the
        QPU's natural gateset) return this compiled program.

        :rtype: Optional[Program]