I am using the second definition of a trace in the accepted answer of Evaluation of a trace - how does it depend on the inner product being used? but I am concerned with general Hilbert spaces (not necessarily finite)
First let's supposed $A$ has a trace (is trace class). Would using a different scalar product (which effectively means a different Hilbert space, since the scalar product is part of the definition of a Hilbert space) change the value ?