Complexity and control in quantum photonics. (2016)