qleap.RunArguments¶
- class qleap.RunArguments(shots=1024, trace=False, clear=True)¶
RunArguments is a class that represents the arguments for running a quantum program in the QLeap framework.
- __init__(shots=1024, trace=False, clear=True)¶
Creates a RunArguments instance with the specified arguments for running a quantum program.
- Parameters:
shots (int, optional) – The number of shots to run the quantum program for, by default 2**10
trace (bool, optional) – Whether to generate a trace of the program’s execution, by default False
Methods
__init__([shots, trace, clear])Creates a RunArguments instance with the specified arguments for running a quantum program.