code: def plot_rebit_modelparams(modelparams, rebit_axes=REBIT_AXES, **kwargs):
      
      mps = modelparams[:, rebit_axes] * np.sqrt(2)
      plt.scatter(mps[:, 0], mps[:, 1], **kwargs)
docs: Given model parameters representing rebits, plots the
      rebit states as a scatter plot. Additional keyword arguments
      are passed to :ref:`plt.scatter`.
  
      :param np.ndarray modelparams: Model parameters representing
          rebits.
      :param list rebit_axes: List containing indices for the :math:`x`
          and :math:`z` axes.