qml.capture.pause

pause()[source]

Temporarily stop program capture.

>>> def f():
...     with qml.capture.pause():
...         qml.X(0)
...     return 2
>>> jax.make_jaxpr(f)()
{ lambda ; . let  in (2,) }

Contents

Using PennyLane

Release news

Development

API

Internals