This function is useless in Aer, as it is fully OOP language and thus disallows functions declaration.