qml.wires.DynamicWire¶
- class DynamicWire(key=None)[source]¶
Bases:
object
A wire whose concrete value will be determined later during a compilation step or execution.
Multiple dynamic wires can correspond to the same device wire as long as they are properly allocated and deallocated.
- Parameters:
key (uuid.UUID or None) – An optional UUID key to identify the dynamic wire. If None, a random UUID will be generated.
code/api/pennylane.wires.DynamicWire
Download Python script
Download Notebook
View on GitHub