Quanlse/Simulator/PulseSimQCQ.py
def generateVZ(ham: QHamiltonian, cirLine: CircuitLine) -> QJob:
        """
        Generate the virtual-z gate
        """
        job = ham.createJob()

        onQubit = int(cirLine.qRegIndexList[0])

        phase = cirLine.data.uGateArgumentList[2]

        vz = virtualZ(phase=phase)

        job.appendWave(operators=uWave, onSubSys=onQubit, waves=vz)

        return job

        Generate the virtual-z gate
        
Generate the virtual-z gate
Generate the virtual - z gate
def generateVZ(ham: QHamiltonian, cirLine: CircuitLine) -> QJob:
        job = ham.createJob()
        onQubit = int(cirLine.qRegIndexList[0])
        phase = cirLine.data.uGateArgumentList[2]
        vz = virtualZ(phase=phase)
        job.appendWave(operators=uWave, onSubSys=onQubit, waves=vz)
        return job
def generateVZ ( ham : QHamiltonian , cirLine : CircuitLine ) -> QJob : job = ham . createJob ( ) onQubit = int ( cirLine . qRegIndexList [ 0 ] ) phase = cirLine . data . uGateArgumentList [ 2 ] vz = virtualZ ( phase = phase ) job . appendWave ( operators = uWave , onSubSys = onQubit , waves = vz ) return job
Generate the virtual-z gate
Generate the virtual - z gate
"""
        Generate the virtual-z gate
        """
ham
QHamiltonian
cirLine
CircuitLine