alternating quadratic form