Load a pyQuil program, and initialize QVM into a fresh state.

        Args:
            binary: A pyQuil program

def load(self, binary: pyquil.Program) -> 'QuantumFlowQVM':
        """
        Load a pyQuil program, and initialize QVM into a fresh state.

        Args:
            binary: A pyQuil program
        """

        assert self.status in ['connected', 'done']
        prog = quil_to_program(str(binary))

        self._prog = prog
        self.program = binary
        self.status = 'loaded'

        return self