wy_qcos.drivers.dummy package
Submodules
wy_qcos.drivers.dummy.driver_dummy module
- class wy_qcos.drivers.dummy.driver_dummy.DriverDummy
基类:
DriverBase空载测试驱动.
Dummy neutral-atom driver for test purpose
- init_driver()
Init driver.
- validate_driver_configs(configs)
Validate driver configs.
- 参数:
configs -- configs dictionary
- 返回:
success, err_msgs
- close_driver()
Close driver.
- fetch_configs()
Fetch configs.
- 返回:
remote transpiler configs
- run(job_id, num_qubits, data, data_type, shots=1)
Run job.
- 参数:
job_id -- job ID
num_qubits -- number of qubits
data -- data
data_type -- data type
shots -- shots (Default value = 1)
- cancel(job_id)
Cancel running job in driver.
Driver should clean up any resources of the job
- 参数:
job_id -- job ID
- update_driver_options(driver_options)
Update driver options.
- 参数:
driver_options -- new driver options