Module random_circuit

Module random_circuit 

Source

Functionsยง

random_circuit
Creates a random circuit.
random_circuit_with_observable
Creates a random circuit.
random_circuit_with_set_observable
Creates a random circuit with rounds many rounds of single and two qubit gate layers, then a layer of random observables followed by the same single and two qubit gate layers mirrored. The observables are placed on the given qubits. The gates are placed with the given probabilities and only on qubit pairs specified by the connectivity.