In this paper, a nonlinear optimal feedback control based on the nonlinear state estimator for a two-level open non-Markovian stochastic quantum system is proposed. The proposed nonlinear state estimator is designed by using the state-dependent differential Riccati equation and constructed to optimally estimate the state. The estimated state is updated by the output data of continuous weak measurement of the controlled quantum system and used to design the nonlinear state feedback controller to track the output of the reference model. The output state of reference model is chosen as the desired performance. The numerical simulation results verify the achievability of the proposed state feedback control strategy, and the capability to steer the state of system from any arbitrary initial state to the final reference target state with high state transfer success rate.