Roll a Dice on a Quantum Computer

When I say “Roll a Dice on a Quantum Computer”, technically there is no dice and it’s not entirely a click bait. I’m going to simulate and verify the probability of an 8 sided fair dice. Why would I want to waste resources to do such a simple task. Well, a simple answer. There is…

Why You Need Conda to Manage Environments

Are you are confused by the many ways of creating environments in Python?Do you have to use Conda due to restrictions on the machine you’re working?This article explains as to why you need Conda. Learn what Conda is and how to use it without wasting your time. I came across Conda when I was working on a…

Add Matplotlib Percentage Ticks to a Histogram

Matplotlib provides an easy way of converting your yaxis to percentages. It’s just a one liner But the issue is you can’t space the yticks as you want them to be. Usually you can do this by setting yticks (ax.set_yticks). But the issue is, python converts the axis directly to percentages, only after setting the…