interaction of open quantum systems with fundamental noncommutative quantum noises can be described by quantum stochastic differential equations (QSDE). These equations have a key role in quantum network analysis and design, especially for quantum information processing. Hence, in this paper, we derive a Hamilton-JacobiBellman equation for quantum stochastic differential equations. The Bellman optimality principle is developed for open quantum systems. The cost functional of quantum observable to be minimized is considered to be general noncommutative polynomial of quantum operator. Since the method directly deals with QSDE, then it is a useful tool for optimal control of quantum optical networks. In addition, we will exhibit some electro-optical and all-optical feedback control schematics for implementation of quantum control based on QSDEs.