Generalization of quantum calculus and corresponding Hermite–Hadamard inequalities | Synapse