lift()#

static QuadraticLifter.lift(states)[source]#

Apply the lifting map \(q \to (q, q^2)\).

Parameters
states(n, k) ndarray

Native state variables.

Returns
lifted_states(2n, k) ndarray

Learning variables.