We implement RSQE and HQE simulation schemes from the paper Efficient simulation of affine forward volatility models available at: http://ssrn.com/abstract=3876680.
We also provide an easy-to-follow Jupyter notebook that shows how to use these schemes, in particular to generate volatility smiles.