Could you try with dolfinx.fem.Constant(mesh, PETSc.ScalarType(1j))*u?
dolfinx.fem.Constant(mesh, PETSc.ScalarType(1j))*u