In order to use a user-defined basis set, the BASIS $rem must be set to GENERAL or GEN.
When using a non-standard basis set which incorporates or higher angular momentum basis functions, the $rem variable PURECART needs to be set. This $rem variable indicates to the Q-Chem program how to handle the angular form of the basis functions. As indicated above, each integer represents an angular momentum type which can be defined as either pure (1) or Cartesian (2). For example, 1111 specifies that , , and basis functions should have pure form whereas 1121 indicates that - - and -functions are pure but functions are Cartesian. These four-digit codes can be used even if the basis does not contain or functions; PURECART = 1111 (or 2222) specifies to use pure (or Cartesian) functions for all angular momentum types.
In standard basis sets all functions are pure, except for the functions in -21G–type bases (e.g., 3-21G) and -31G bases (e.g., 6-31G, 6-31G*,6-31+G*, ). In particular, the 6-311G series uses pure functions for both and .