iqm.benchmarks.compressive_gst.mgst.qiskit_interface.get_gate_sequence#
- iqm.benchmarks.compressive_gst.mgst.qiskit_interface.get_gate_sequence(sequence_number: int, sequence_length: int, gate_set_length: int) ndarray#
Generate a set of random gate sequences.
This function creates a specified number of random gate sequences, each of a given length. The gates are represented by numerical indices corresponding to elements in gate_set. Each sequence is a random combination of these indices.
- Parameters:
- Returns:
- An array of shape (sequence_number, sequence_length), where each row represents a randomly generated
gate sequence.
- Return type: