Quality score depend on many factor, some important factors are relevancy, landing page and click through rate etc. These are major important factors to improve quality score. If you improve quality score, you also pay minimum for every click.