Module utils

Module utils 

Source
Expand description

Utility functions for error correction

Functionsยง

analyze_correction_quality
Analyzes the quality of error correction by comparing states before and after correction
calculate_fidelity
Calculates the fidelity between two quantum states
create_error_corrected_circuit
Creates a complete error-corrected circuit including encoding, noise, and correction