Under the hood of IBM Q