src/quantuminspire/qiskit/backend_qx.py
def __validate_number_of_shots(job: QasmQobj) -> None:
        """ Checks whether the number of shots has a valid value.

        Args:
            job: The quantum job with the Qiskit algorithm and quantum inspire backend.

        Raises:
            QisKitBackendError: When the value is not correct.
        """
        number_of_shots = job.config.shots
        if number_of_shots < 1:
            raise QisKitBackendError('Invalid shots (number_of_shots={})'.format(number_of_shots))
 Checks whether the number of shots has a valid value.

        Args:
            job: The quantum job with the Qiskit algorithm and quantum inspire backend.

        Raises:
            QisKitBackendError: When the value is not correct.
        
Checks whether the number of shots has a valid value.
Checks whether the number of shots has a valid value .
def __validate_number_of_shots(job: QasmQobj) -> None:
        number_of_shots = job.config.shots
        if number_of_shots < 1:
            raise QisKitBackendError('Invalid shots (number_of_shots={})'.format(number_of_shots))
def __validate_number_of_shots ( job : QasmQobj ) -> None : number_of_shots = job . config . shots if number_of_shots < 1 : raise QisKitBackendError ( 'Invalid shots (number_of_shots={})' . format ( number_of_shots ) )
Checks whether the number of shots has a valid value.
Checks whether the number of shots has a valid value .
""" Checks whether the number of shots has a valid value.

        Args:
            job: The quantum job with the Qiskit algorithm and quantum inspire backend.

        Raises:
            QisKitBackendError: When the value is not correct.
        """
When the value is not correct.
When the value is not correct .
QisKitBackendError
job
QasmQobj
The quantum job with the Qiskit algorithm and quantum inspire backend.
The quantum job with the Qiskit algorithm and quantum inspire backend .