Mocking console for cli unittesting
user_input = ['6 1'] expected_output = '84 + 7 =\n' \ ' OK!\n' with patch('builtins.input', side_effect=user_input): with patch('sys.stdout', new=io.StringIO()) as output: dodawanie(84, 7) self.assertEqual(expected_output, output.getvalue())
QuantumCircut is the quantum program. You build it with registers, quantum gates. Then compile and run on the quantum chip, without interaction. In the end you get results thanks to measure gates.
Small fix Issue 915 for Qiskit Terra.
Created IBM Quantum backend dashboard: https://lukaszherok.com/dash
Using IBM Q Experience Qunatum Computer as perfect random number generator.
New Ansible playbook for automatic software upgrade on multiple servers.
Fedora 29 installed on the old laptop with WinXP. Need to move Win partition with GParted to make place for grub2 bootloader.
Installed Pi-Hole (awesome installer) in my home. Now I'm Ad free :D