Replaced qtn4 by array<float, 4>