You asked:

is cream of tartar the same as citric acid

No. Potassium bitartrate is not equal to Citric acid.
Potassium bitartrate
Potassium bitartrate
Potassium bitartrate

Citric acid