Algorithm 3:
Return t-SVDMII under , to meet energy constraint
| INPUT: , a multiple of unitary matrix; desired energy . |
| 1: Compute t-SVDM of . |
| 2: Concatenate for all into a vector . |
| 3: . |
| 4: Let be the vector of cumulative sums: i.e., |
| 5: Find the first index such that . |
| 6: Define . |
| 7: for do |
| 8: Set as number of singular values for greater or equal to . |
| 9: Keep only the and . |
| End for |