# How to visualize photon gate changes with pennylane or pennylane-sf?

**URL:** <https://discuss.pennylane.ai/t/how-to-visualize-photon-gate-changes-with-pennylane-or-pennylane-sf/4271>\
**Category:** PennyLane Help\
**Created:** [March 13, 2024, 4:05pm UTC](https://discuss.pennylane.ai/t/how-to-visualize-photon-gate-changes-with-pennylane-or-pennylane-sf/4271 "2024-03-13T16:05:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RX1](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/rx1/32/698_2.png) [@RX1](https://discuss.pennylane.ai/u/RX1)\
**Post date:** [March 13, 2024, 4:05pm UTC](https://discuss.pennylane.ai/t/how-to-visualize-photon-gate-changes-with-pennylane-or-pennylane-sf/4271/1 "2024-03-13T16:05:49Z")

</div>

The interesting thing about Strawberry Fields is that you can visualize the change of photon gates, how do you visualize photon gates with pennylane? I hope it is to visualize the photon gates dynamically.

---

<div class="post-metadata">

**Author:** ![isaacdevlugt](https://yyz2.discourse-cdn.com/flex012/user_avatar/discuss.pennylane.ai/isaacdevlugt/32/1159_2.png) [@isaacdevlugt](https://discuss.pennylane.ai/u/isaacdevlugt)\
**Post date:** [March 14, 2024, 6:28pm UTC](https://discuss.pennylane.ai/t/how-to-visualize-photon-gate-changes-with-pennylane-or-pennylane-sf/4271/2 "2024-03-14T18:28:23Z")

</div>

Hey @RX1,

At the moment, the only way to visualize a circuit with native pennylane features is with the `qml.draw` method 🙂

> **[qml.draw](https://docs.pennylane.ai/en/stable/code/api/pennylane.draw.html?highlight=qml%20draw#pennylane.draw)**
