%%
%% This is file `qsharp.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% qsharp.dtx  (with options: `package')
%% 
%% This is a generated file.
%% 
%% TODO: license header
%% 
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{qsharp}
    [2019/01/14 v0.3.1901.1401 Initial public version.]


\usepackage{listings}
\usepackage{xcolor}




\newcommand{\qs}{Q\#}




\definecolor{cud-reddish-purple}{RGB}{204,121,167}
\colorlet{doc-comment}{cud-reddish-purple!60!black}




\makeatletter
\lstdefinelanguage{QSharp}{
    morekeywords={
        namespace,
        open,
        operation,
        function,
        body,
        adjoint,
        auto,
        controlled,
        let,
        set,
        mutable,
        using,
        borrowing,
        Adjoint,
        Qubit, Unit,
        Zero, One
    },
    % Define built-in primitives as second-order keywords.
    morekeywords=[2]{H, CNOT, I, X, Y, Z, Message},
    sensitive=true,
    morecomment=[l]{//},
    morecomment=[l][\lst@commentstyle\color{doc-comment}]{///}
}
\makeatother


\lstdefinestyle{QSharp}{
    language=QSharp,
    mathescape=true
}


\endinput
%%
%% End of file `qsharp.sty'.
