Vector utility functions to simplify tests.
Test indexGet
Finished testing QuantumUtil.