qml.labs.resource_estimation.AllocWires
-
class AllocWires(num_wires)[source]
Bases: _WireAction
Allows users to allocate clean work wires.
- Parameters:
num_wires (int) – number of work wires to be allocated.
queue([context])
|
Adds the wire action object to a queue. |
-
queue(context=<class 'pennylane.queuing.QueuingManager'>)
Adds the wire action object to a queue.
code/api/api/pennylane.labs.resource_estimation.AllocWires