You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that we have #4, we can start adding some "property checking" tests. Something along the lines of:
circuit = ... # the straightforward circuit
qubit_permutations = ... # the permutations you are imposing
optimized_permuted_circuit = ... # the circuit with permuted gates
noise_on_all_qubits = ... # a circuit that runs noise on all qubits
pauli_frame_1 = ... # A sufficiently big pauli frame
pftrajectory!(pauli_frame_1, noise_on_all_qubits) # Make the pauli frame noisy
pauli_frame_2 = copy(pauli_frame_1)
# use qubit_permutations to permute the columns of the pauli_frame_2 tableaux
pftrajectory!(pauli_frame_1, circuit)
pftrajectory!(pauli_frame_2, optimized_permuted_circuit)
@test measurement results are the same for the two simulations
The text was updated successfully, but these errors were encountered:
Now that we have #4, we can start adding some "property checking" tests. Something along the lines of:
The text was updated successfully, but these errors were encountered: