qiskit/qobj/converters/pulse_instruction.py
def convert_snapshot(self, shift, instruction):
        """Return converted `Snapshot`.

        Args:
            shift(int): Offset time.
            instruction (Snapshot): snapshot instruction.
        Returns:
            dict: Dictionary of required parameters.
        """
        command_dict = {
            'name': 'snapshot',
            't0': shift+instruction.start_time,
            'label': instruction.name,
            'type': instruction.type
        }
        return self._qobj_model(**command_dict)
def convert_snapshot(self, shift, instruction):
        command_dict = {
            'name': 'snapshot',
            't0': shift+instruction.start_time,
            'label': instruction.name,
            'type': instruction.type
        }
        return self._qobj_model(**command_dict)
def convert_snapshot ( self , shift , instruction ) : command_dict = { 'name' : 'snapshot' , 't0' : shift + instruction . start_time , 'label' : instruction . name , 'type' : instruction . type } return self . _qobj_model ( * * command_dict )
Return converted `Snapshot`.

        Args:
            shift(int): Offset time.
            instruction (Snapshot): snapshot instruction.
        Returns:
            dict: Dictionary of required parameters.
Return converted Snapshot .