pub fn add_random_multi_qubit_gate(number_qubits: usize, seed: u64) -> Operation
Expand description

Function to add a random multi-qubit-gate operation to the Circuit.

The qubits argument for the multi-qubit-gates is generated from a sorted list of qubits based on the provided number of qubits. The other arguments for the gate operation, like rotation angle, are distributed randomly.

§Arguments

  • number_qubits - Number of qubits in the circuit.
  • seed - Seed for the random number generator.

§Returns

  • Operation - The constructed random roqoqo Operation.