Gate-Model Simulator Properties#
For the parameters you can configure, see the Gate-Model Simulator Parameters section.
category#
Type of solver, as a string.
software-gate: Gate-model simulator.
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["category"]
'software-gate'
default_noise_model#
Default setting for the application of a noise model, as a Boolean.
True: A noise model is applied.False: Simulates an ideal QPU, as described in the About the Simulator section.
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["default_noise_model"]
False
default_qpu#
Default selection of the QPU to simulate, as a string.
Supported QPUs are listed in the supported_qpu_strings property.
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["default_qpu"]
'DRsim_21qubits'
default_repeat_until_shots_requested#
Default setting, as a Boolean, for rerunning the circuit until the requested number of measurements is accumulated, where the accumulated measurements do not include erasures (see the Result Records section).
True: Repeatedly rerun the circuit.False: Run the circuit the number of times set by the shots parameter.
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["default_repeat_until_shots_requested"]
False
default_shots#
Default setting for the number of measurements to run (times to execute your QCDL circuit), as an integer. With dual-rail QPUs, a measurement result can be a “splat” (see the Measurements section).
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["default_shots"]
1000
default_time_limit_s#
Default maximum runtime, in seconds, the solver is allowed to work on the given program, as a float.
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["default_time_limit_s"]
2700
default_transpile#
Default setting, as a Boolean, for transpiling the submitted QCDL program.
True: Transpile the program.False: Run the circuit exactly as specified in the submitted QCDL or return an error.
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["default_transpile"]
True
maximum_num_qubits#
Maximum number of qubits for QCDL circuits, as an integer.
Note
Transpilation can add and remove qubits in your QCDL.
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["maximum_num_qubits"]
21
maximum_shots#
Maximum value of the shots you can specify, as an integer.
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["maximum_shots"]
1000000
maximum_time_limit_s#
Maximum time, in seconds as a float, that your submitted circuit can run.
This value limits the range of values you can set on the time_limit parameter.
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["maximum_time_limit_s"]
2700
minimum_shots#
Minimum number of times the circuit can be executed, as an integer.
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["minimum_shots"]
1
minimum_time_limit_s#
Minimum time, in seconds as a float, you can specify for the runtime limit (the time_limit parameter) on your submitted circuit.
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["minimum_time_limit_s"]
1
quota_conversion_rate#
Rate at which user or project quota is consumed for the solver as a ratio to QPU solver usage. Different solver types may consume quota at different rates.
Time is deducted from your quota according to:
See the Solver Usage Charges section for more information.
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["quota_conversion_rate"]
1
supported_qpu_strings#
Names of supported simulators, as a list of strings.
Available QPUs are the following:
DRsim_17qubits: Dual-rail QPU with 17 qubits.DRsim_21qubits: Dual-rail QPU with 21 qubits.
>>> from dwave.gate.leap import LeapQCDLSimulator
...
>>> simulator = LeapQCDLSimulator()
>>> simulator.properties["supported_qpu_strings"]
['DRsim_17qubits', 'DRsim_21qubits']