# Which differentiation method is compatible with the qulacs-simulator device?

**URL:** https://discuss.pennylane.ai/t/which-differentiation-method-is-compatible-with-the-qulacs-simulator-device/7722
**Category:** PennyLane Help
**Created:** [December 12, 2024, 3:45am UTC](https://discuss.pennylane.ai/t/which-differentiation-method-is-compatible-with-the-qulacs-simulator-device/7722 "2024-12-12T03:45:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Har-Wad](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/har-wad/32/3436_2.png) [@Har-Wad](https://discuss.pennylane.ai/u/Har-Wad)
#### Post date: [December 12, 2024, 3:45am UTC](https://discuss.pennylane.ai/t/which-differentiation-method-is-compatible-with-the-qulacs-simulator-device/7722/1 "2024-12-12T03:45:18Z")

</div>

What is the most suitable differentiation method compatible considering device configuration with `qulacs-simulator`

---

<div class="post-metadata">

### Author: ![CatalinaAlbornoz](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/catalinaalbornoz/32/1196_2.png) [@CatalinaAlbornoz](https://discuss.pennylane.ai/u/CatalinaAlbornoz)
#### Post date: [December 13, 2024, 9:43pm UTC](https://discuss.pennylane.ai/t/which-differentiation-method-is-compatible-with-the-qulacs-simulator-device/7722/2 "2024-12-13T21:43:56Z")

</div>

Hi @Har-Wad ,

Welcome to the Forum!

The best differentiation method will depend on different characteristics of your QNode (such as using shots or not) so it’s not only about what device you choose.

When using the `qulacs-simulator` my guess is that it will default to using `parameter-shift` in general, but you can try using `backprop` which may be much faster.

You can also try using this function [qml.workflow.get\_best\_diff\_method](https://docs.pennylane.ai/en/stable/code/api/pennylane.workflow.get_best_diff_method.html) to check for your specific QNode. You can see an example of how to use it in [this PR](https://github.com/PennyLaneAI/pennylane/pull/6399).

I hope this helps!
