Pokémon Sun and Moon/Hyper Training

Hyper Training lets you maximise a Pokemon's IVs.