Issue 2187:IntQubit to work with inner products