RQCs - UB-Quantic/qflex GitHub Wiki

Random Quantum Circuits

Generation

  1. Apply a H gate to all qubits
  2. Apply subsequent layers of 2-qubit gates
  3. For each qubit not being acted upon by a 2-qubit gate in the current layer but yes in the previous layer, uniform randomly apply a X1/2 or Y1/2 gate
  4. For each qubit not being acted upon by a 2-qubit gate in the current layer but was being acted upon by a X1/2, Y1/2 or H1/2 in the previous layer, apply a T gate
  5. Apply a H gate to all qubits
⚠️ **GitHub.com Fallback** ⚠️