Fix dev.num_executions
bug with QNode caching
#2171
Merged
dev.num_executions
bug with QNode caching
#2171