O2scl implementation of GLQ