Optim: MethodError: no method matching zero

When I do optimization calculations with the Optim package, an error occurred. The type of A1,A2,A3,A4 is ::Array{Complex{Float64},2}. I don’t know how to solve it.
Is there a way to make optimize() support this type?Or what data type can replace this type and serve as optimize()?

Please don’t post screenshots, and include an MWE.