# Keras Layer - Single QBIT

**URL:** <https://discuss.pennylane.ai/t/keras-layer-single-qbit/618>\
**Category:** PennyLane Help\
**Created:** [October 14, 2020, 2:02am UTC](https://discuss.pennylane.ai/t/keras-layer-single-qbit/618 "2020-10-14T02:02:11Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Maria\_Schuld](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/maria_schuld/32/166_2.png) [@Maria\_Schuld](https://discuss.pennylane.ai/u/Maria_Schuld)\
**Post date:** [October 16, 2020, 6:38am UTC](https://discuss.pennylane.ai/t/keras-layer-single-qbit/618/4 "2020-10-16T06:38:41Z")

</div>

Dear @Hemant\_Gehankari,

Your question ventures away from coding issues and into the wonderful world of QML research 🙂

I can only guess here (without doing the research myself), but one thing I would be aware of is the data input scaling. It’s a great exercise to actually look what the maths of the qlayer is doing: It is a transformation where the inputs enter as sine/cosine functions. Now, these functions are periodic, and you will have to make sure that the data entering the quantum layer lies roughly in an interval of length 2\pi. You can find some more information in [the second question of this discussion thread](http://discuss.pennylane.ai/t/about-bell-states/616).

---

_[View the full topic](https://discuss.pennylane.ai/t/keras-layer-single-qbit/618)._
