def r_to_r_swap_Qh(params, substep, state_history, prev_state, policy_input):
    """
    This function calculates and returns the quantity Q after a trade between two risk assets
    Under the mechanism defined June 28, 2021 there is **no change** in the quantity Q
    """
    Q = prev_state['Q']
    return('Q', Q)