basic quantum computing concepts implemented in Python