ReplaceClassicalControl Class

Definition

This transformation works in three passes. 1st Pass: Reshape conditional statements to replace Elif's and top level OR and AND conditions with equivalent nested if-else statements. 2st Pass: Lift the contents of conditional statements into separate operations, where possible. 3nd Pass: Convert conditional statements into interface calls, where possible. This relies on global callables being the only things that have type parameters.

public static class ReplaceClassicalControl
type ReplaceClassicalControl = class
Public Class ReplaceClassicalControl
Inheritance
ReplaceClassicalControl

Methods

Apply(QsCompilation)

Applies to