# Parallelisation for basic QNN?

**URL:** <https://discuss.pennylane.ai/t/parallelisation-for-basic-qnn/735>\
**Category:** PennyLane Help\
**Created:** [December 21, 2020, 4:51am UTC](https://discuss.pennylane.ai/t/parallelisation-for-basic-qnn/735 "2020-12-21T04:51:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![see\_tj](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/see_tj/32/408_2.png) [@see\_tj](https://discuss.pennylane.ai/u/see_tj)\
**Post date:** [December 21, 2020, 4:51am UTC](https://discuss.pennylane.ai/t/parallelisation-for-basic-qnn/735/1 "2020-12-21T04:51:40Z")

</div>

Hi everyone,  
I just wanna ask if its possible to enable parallelisation specifically in this example [https://pennylane.ai/qml/demos/tutorial\_qnn\_module\_torch.html](https://pennylane.ai/qml/demos/tutorial_qnn_module_torch.html)

I saw a post ([https://pennylane.readthedocs.io/en/stable/code/api/pennylane.QNodeCollection.html](https://pennylane.readthedocs.io/en/stable/code/api/pennylane.QNodeCollection.html)) which states that we can let parallel = True for qnode. I wonder if we can do the same for the qlayer?

Thanks in advance!  
Jack

---

<div class="post-metadata">

**Author:** ![Chase\_Roberts](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/chase_roberts/32/394_2.png) [@Chase\_Roberts](https://discuss.pennylane.ai/u/Chase_Roberts)\
**Post date:** [December 21, 2020, 5:22pm UTC](https://discuss.pennylane.ai/t/parallelisation-for-basic-qnn/735/2 "2020-12-21T17:22:12Z")

</div>

What kind of parallelization do you mean? Are you trying to run multiple qnodes in parallel as a TorchLayer?

---

<div class="post-metadata">

**Author:** ![Chase\_Roberts](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/chase_roberts/32/394_2.png) [@Chase\_Roberts](https://discuss.pennylane.ai/u/Chase_Roberts)\
**Post date:** [December 21, 2020, 5:50pm UTC](https://discuss.pennylane.ai/t/parallelisation-for-basic-qnn/735/3 "2020-12-21T17:50:16Z")

</div>

If my above assumption is correct, this is sadly not currently supported by TorchLayer. (The exact issue is that QCollection is not supported). If this is something you’d be interested in having, feel free to open a feature request on our github page!
