-
I was exploring the options = qsimcirq.QSimOptions(gpu_mode=(0,))
options = qsimcirq.QSimOptions(gpu_mode=1)
simulator = qsimcirq.QSimSimulator(options) I found that
Why is this the case? Should I stay away from |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @rht, thanks for sharing your observation. It's likely because there're extra optimizations that we offer with our custom mgpu backend, such as gate fusion. If you can use our cuQuantum Appliance container, it'd be better indeed if you use the mgpu backend even if you are on single GPU. But, for performance chasing games like this, it's always advised to benchmark with your workload first 🙂 |
Beta Was this translation helpful? Give feedback.
Hi @rht, thanks for sharing your observation. It's likely because there're extra optimizations that we offer with our custom mgpu backend, such as gate fusion. If you can use our cuQuantum Appliance container, it'd be better indeed if you use the mgpu backend even if you are on single GPU. But, for performance chasing games like this, it's always advised to benchmark with your workload first 🙂