# Pytorch Interface using multiple inputs - best practice?

**URL:** <https://discuss.pennylane.ai/t/pytorch-interface-using-multiple-inputs-best-practice/232>\
**Category:** PennyLane Help\
**Created:** [September 23, 2019, 11:04pm UTC](https://discuss.pennylane.ai/t/pytorch-interface-using-multiple-inputs-best-practice/232 "2019-09-23T23:04:17Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![nathan](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/nathan/32/85_2.png) [@nathan](https://discuss.pennylane.ai/u/nathan)\
**Post date:** [September 26, 2019, 2:20pm UTC](https://discuss.pennylane.ai/t/pytorch-interface-using-multiple-inputs-best-practice/232/6 "2019-09-26T14:20:46Z")

</div>

Hi @cnada,

Since none of the underlying simulators/hardware devices support batching, unfortunately you’ll still have to provide a batch of inputs manually (e.g., with a `for` loop).

A more intensive option (taken by fellow user @rooler) is to manually create a simulator which automatically handles batching 😃 (see [here](http://discuss.pennylane.ai/t/batching-inputs-to-quantum-circuit/139)).

We do have on our roadmap to provide batching support in PennyLane. This would require either that a backend provider exposes this feature, or that we build our own support in PennyLane’s own simulators. But for the moment, you’ll have to use the old-fashioned option mentioned above.

---

_[View the full topic](https://discuss.pennylane.ai/t/pytorch-interface-using-multiple-inputs-best-practice/232)._
