Towards a quantum computer that learns from its errors | Agent5