Quantum Computing from Hopfield Nets: A Textbook with Python Code Examples (Cognitive Technologies)