I would like to see, in terms of complexity, the cost of a circuit. For example: I have written two algorithm that does the same thing, but in one of them I initialize data differently, so I would like to compare them.
I've seen that there is a function called
count_ops() , but it return only the number of each gate and I think it is not useful for my purpose, because is not an appropriate metric (i.e it is possible that one circuit is computationally more expensive but has less gate than the other). I am wondering if there is a function which calculate the complexity, given the gate, or something like that.
Thanks very much.