Did California enter the union as a slave state?

No. California was to enter the Union as a free state, as one of the terms of the Compromise of 1850.