Tried executing plot_histogram(result.get_counts(circuit))
where result has the job result and circuit is the Quantum circuit
But an attribute error hits every time.
AttributeError: 'function' object has no attribute 'get_counts'
I tried going through the qiskit tutorial documentation, but couldn't help myself with it.
Can somebody point out what's wrong here?