Text this: Optimal control in ecology and environmental protection based on quantum computing