Implements some QEC codes in QCOR lib

Created by: tnguyen-ornl

Each code is structured as a 3-member tuple: an operation to encode a phycical qubit into a logical register, an operation to decode syndromes and fix correctable errors, and the stabilizers.

Added a util function to measure stabilizers with an ancillary qubit.

Added sample test drivers to validate those codes.

Merge request reports

Loading