code: def _one_q_state_prep(oneq_state: _OneQState):
      
      label = oneq_state.label
      if label == 'SIC':
          return _one_q_sic_prep(oneq_state.index, oneq_state.qubit)
      elif label in ['X', 'Y', 'Z']:
          return _one_q_pauli_prep(label, oneq_state.index, oneq_state.qubit)
      else:
          raise ValueError(f"Bad state label: {label}")
docs: Prepare a one qubit state.
  
      Either SIC[0-3], X[0-1], Y[0-1], or Z[0-1].