Quanlse/QHamiltonian.py
def doNotClearWaveFunctionsToSequences(self, maxEndTime: float = None) -> Dict[str, List[QWaveform]]:
        """
        Convert all functions into sequence (including the QWaveform objects) that is serializable.

        :param maxEndTime: maximum ending time
        :return: dictionary containing the converted functions
        """
        newList = {}
        for waveKey in self._doNotClearFlagWaves:
            # Add QWaveform
            newList[waveKey] = []
            for wave in self._doNotClearFlagWaves[waveKey]:
                seqWave = wave.waveFunctionToSequence(self.dt, maxEndTime=maxEndTime)
                newList[waveKey].append(seqWave)
        return newList

        Convert all functions into sequence (including the QWaveform objects) that is serializable.

        :param maxEndTime: maximum ending time
        :return: dictionary containing the converted functions
        
Convert all functions into sequence (including the QWaveform objects) that is serializable.
Convert all functions into sequence ( including the QWaveform objects ) that is serializable .
def doNotClearWaveFunctionsToSequences(self, maxEndTime: float = None) -> Dict[str, List[QWaveform]]:
        newList = {}
        for waveKey in self._doNotClearFlagWaves:
            newList[waveKey] = []
            for wave in self._doNotClearFlagWaves[waveKey]:
                seqWave = wave.waveFunctionToSequence(self.dt, maxEndTime=maxEndTime)
                newList[waveKey].append(seqWave)
        return newList
def doNotClearWaveFunctionsToSequences ( self , maxEndTime : float = None ) -> Dict [ str , List [ QWaveform ] ] : newList = { } for waveKey in self . _doNotClearFlagWaves : newList [ waveKey ] = [ ] for wave in self . _doNotClearFlagWaves [ waveKey ] : seqWave = wave . waveFunctionToSequence ( self . dt , maxEndTime = maxEndTime ) newList [ waveKey ] . append ( seqWave ) return newList
Convert all functions into sequence (including the QWaveform objects) that is serializable.
Convert all functions into sequence ( including the QWaveform objects ) that is serializable .
"""
        Convert all functions into sequence (including the QWaveform objects) that is serializable.

        :param maxEndTime: maximum ending time
        :return: dictionary containing the converted functions
        """ # Add QWaveform
dictionary containing the converted functions
dictionary containing the converted functions
self
maxEndTime
float
maximum ending time
maximum ending time