iqm.pulla.utils_dd.generate_phases_of_urn_sequence

iqm.pulla.utils_dd.generate_phases_of_urn_sequence#

iqm.pulla.utils_dd.generate_phases_of_urn_sequence(n)#

Generate PRX gate phases for the URn sequence.

More information on the URn sequence is available in [1], at the end in Appendix A.1.

Parameters:

n (int) – Number of single qubit PRX pulses with different phases to apply, must be a positive even number.

Returns:

Phases to be used by the URn sequence.

Return type:

list[float]