Create class for spin qubits