<commit_before>import qutip as qtp
import numpy as np
import time
import scipy


class TomoAnalysis():

    """Performs state tomography based on an overcomplete set of measurements
     and calibration measurements. Uses qutip to calculate resulting basis states
     from applied rotations

    Uses binary counting as general guideline in ordering states. Calculates
     rotations by using the qutip library
    BEFORE YOU USE THIS SET THE CORRECT ORDER BY CHANGING
        'rotation_matrixes'
        'measurement_basis' + 'measurement_basis_labels'
        to values corresponding to your experiment
        and maybe 'readout_basis'<commit_msg>Renaming Tomo code for clarity<commit_after>import qutip as qtp
import numpy as np
import time
import scipy


class TomoAnalysis_JointRO():

    """Performs state tomography based on an overcomplete set of measurements
     and calibration measurements. Uses qutip to calculate resulting basis states
     from applied rotations.
     
    Works for Joint RO (like REM experiment).

    Uses binary counting as general guideline in ordering states. Calculates
     rotations by using the qutip library
    BEFORE YOU USE THIS SET THE CORRECT ORDER BY CHANGING
        'rotation_matrixes'
        'measurement_basis' + 'measurement_basis_labels'
        to values corresponding to your experiment
        and maybe 'readout_basis'
{'fraction_non_alphanumeric': 0.03188405797101449, 'fraction_numerical': 0.0, 'mean_word_length': 3.5427631578947367, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2109040', 'n_tokens_mistral': 366, 'n_tokens_neox': 339, 'n_words': 160}