qp.core.apply

Overview

This module contains the apply() utility.

The apply utility records an instantiated operator or measurement in the active program, whether PennyLane is using a queuing context or program capture.

apply(op[, context])

Apply an instantiated operator or measurement to the active program.