Most existing quantum programming languages are based on the quantum circuit model of computation, as higher-level abstractions are …