Initial commit for TP4
Simulator
Draft for fittedQ