XYZ quadratic algebra