# \[unitaryhack\] a quantum simulator in PyTorch #1225

**URL:** <https://discuss.pennylane.ai/t/unitaryhack-a-quantum-simulator-in-pytorch-1225/1057>\
**Category:** PennyLane Development\
**Created:** [May 21, 2021, 5:02pm UTC](https://discuss.pennylane.ai/t/unitaryhack-a-quantum-simulator-in-pytorch-1225/1057 "2021-05-21T17:02:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arshpreetsingh](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/arshpreetsingh/32/534_2.png) [@arshpreetsingh](https://discuss.pennylane.ai/u/arshpreetsingh)\
**Post date:** [May 21, 2021, 5:02pm UTC](https://discuss.pennylane.ai/t/unitaryhack-a-quantum-simulator-in-pytorch-1225/1057/1 "2021-05-21T17:02:29Z")

</div>

Hi,  
Raised PR for Pytorch-support.  
Need help to understand things in following items.  
**Pending Items:**

1. Require more information for tf.linalg.diag() alternate for def CRot(a, b, c) in (pennylane/devices/pt\_ops.py)
2. Require support for Function-Doc pennylane/devices/default\_qubit\_pt.py
3. Require support for tf.GradientTape() , What alternative can be used for Pytorch. --\> (tests/devices/test\_default\_qubit\_pt.py)

Should discuss issue here or at Github/  
PR URL: [https://github.com/PennyLaneAI/pennylane/pull/1351](https://github.com/PennyLaneAI/pennylane/pull/1351)

---

<div class="post-metadata">

**Author:** ![Alain\_Delgado\_Gran](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/alain_delgado_gran/32/78_2.png) [@Alain\_Delgado\_Gran](https://discuss.pennylane.ai/u/Alain_Delgado_Gran)\
**Post date:** [May 21, 2021, 5:39pm UTC](https://discuss.pennylane.ai/t/unitaryhack-a-quantum-simulator-in-pytorch-1225/1057/2 "2021-05-21T17:39:32Z")

</div>

Hi @arshpreetsingh,

Thanks for contributing to PennyLane. You are right, since this is more a software-development oriented discussion, I recommend using github to follow up with your questions.

Thank you!
