`TypeError Traceback (most recent call last)
Cell In [9], line 2
1 ngpus = 1
----> 2 qsim_options = qsimcirq.QSimOptions(
3 max_fused_gate_size = 2
4 , cpu_threads = 1
5 , gpu_mode = ngpus
6 , use_sampler = True
7 , disable_gpu = False
8 )
9 qsim_simulator = qsimcirq.QSimSimulator(qsim_options)
TypeError: init() got an unexpected keyword argument 'use_sampler'`
It's working fine when these 2 options are removed. I am using windows wsl to run it locally using conda installation.
The documentation clearly has these options. Link to QSimOptions
`TypeError Traceback (most recent call last)
Cell In [9], line 2
1 ngpus = 1
----> 2 qsim_options = qsimcirq.QSimOptions(
3 max_fused_gate_size = 2
4 , cpu_threads = 1
5 , gpu_mode = ngpus
6 , use_sampler = True
7 , disable_gpu = False
8 )
9 qsim_simulator = qsimcirq.QSimSimulator(qsim_options)
TypeError: init() got an unexpected keyword argument 'use_sampler'`
It's working fine when these 2 options are removed. I am using windows wsl to run it locally using conda installation.
The documentation clearly has these options. Link to QSimOptions