LinearlyParameterizedGate.
to_vector
Extract a vector of the underlying gate parameters from this gate.