Practical Statecharts In C-C++.Quantum Programming For Embedded Systems