Let R = F q 2 + uF q 2 , where F q 2 is the finite field with q 2 elements, q is a power of a prime p, and u 2 = 0. In this paper, a class of maximal entanglement entanglement-assisted quantum error-correcting codes (EAQECCs) is obtained by employing (1 − u)-constacyclic Hermitian linear complementary dual (LCD) codes of length n over R. First, we give a sufficient condition for a linear code C of length n over R to be a Hermitian LCD code and claim that there does not exist a non-free Hermitian LCD code of length n over R. Also, assume that gcd(n, q) = 1, and γ is a unit in R, we obtain all γ -constacyclic Hermitian LCD codes. Finally, we derive symplectic LCD codes of length 2n over F q 2 as Gray images of linear and constacyclic codes of length n over R. By using the explicit symplectic method in [9], we get the desired maximal entanglement EAQECCs.