BQCESubroutine.broutine!Function
broutine!(st, op, locs[, ctrl, args...])

Qubit-based quantum circuit subroutine.

Args

  • st: the raw storage type.
  • op: the operator
  • locs: a Locations, location of the operator
  • ctrl: optional. A CtrlLocations, location of the control qubits.
  • args: optional. parameters of the operator.