├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── Build.yml │ ├── codeql-analysis.yml │ ├── dotnet-core.yml │ └── publish.yml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── LICENSE.txt ├── OpenQasm.sln ├── README.md ├── src ├── OpenQasmExporter │ ├── Exporter.cs │ ├── ExporterMagic.cs │ ├── Intrinsics.cs │ ├── OpenQasmExporter.csproj │ └── README.md └── OpenQasmReader │ ├── OpenQasmReader.csproj │ ├── Parser.cs │ └── README.md └── tests ├── OpenQasmExporter.Sample ├── OpenQasmExporter.Sample.csproj ├── Program.cs └── SampleExporterMagic.ipynb ├── OpenQasmExporter.Tests ├── OpenQasmExporter.Tests.csproj └── Test.qs └── OpenQasmReader.Tests ├── End2EndTest.cs ├── FirstLetterToUpperCaseTest.cs ├── IndexedCallTest.cs ├── OpenQasmReader.Tests.csproj ├── ParseApplicationTest.cs ├── ParseBarrierTest.cs ├── ParseCalculationTest.cs ├── ParseConditionTest.cs ├── ParseIncludeTest.cs ├── ParseOpenQasmHeaderTest.cs ├── Test ├── 5qubit1.qasm ├── CNot.qasm ├── Gates.qasm ├── Hadamard.qasm ├── bv3.qasm ├── hid3.qasm ├── marg5.qasm └── toff6.qasm ├── TokenizerTest.cs └── Validate ├── Bv3.qs ├── CNot.qs ├── FiveQubit1.qs ├── Gates.qs ├── Hadamard.qs ├── Hid3.qs ├── Marg5.qs └── Toff6.qs /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/Build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/.github/workflows/Build.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/.github/workflows/codeql-analysis.yml -------------------------------------------------------------------------------- /.github/workflows/dotnet-core.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/.github/workflows/dotnet-core.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/.gitignore -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /OpenQasm.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/OpenQasm.sln -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/README.md -------------------------------------------------------------------------------- /src/OpenQasmExporter/Exporter.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/src/OpenQasmExporter/Exporter.cs -------------------------------------------------------------------------------- /src/OpenQasmExporter/ExporterMagic.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/src/OpenQasmExporter/ExporterMagic.cs -------------------------------------------------------------------------------- /src/OpenQasmExporter/Intrinsics.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/src/OpenQasmExporter/Intrinsics.cs -------------------------------------------------------------------------------- /src/OpenQasmExporter/OpenQasmExporter.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/src/OpenQasmExporter/OpenQasmExporter.csproj -------------------------------------------------------------------------------- /src/OpenQasmExporter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/src/OpenQasmExporter/README.md -------------------------------------------------------------------------------- /src/OpenQasmReader/OpenQasmReader.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/src/OpenQasmReader/OpenQasmReader.csproj -------------------------------------------------------------------------------- /src/OpenQasmReader/Parser.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/src/OpenQasmReader/Parser.cs -------------------------------------------------------------------------------- /src/OpenQasmReader/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/src/OpenQasmReader/README.md -------------------------------------------------------------------------------- /tests/OpenQasmExporter.Sample/OpenQasmExporter.Sample.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmExporter.Sample/OpenQasmExporter.Sample.csproj -------------------------------------------------------------------------------- /tests/OpenQasmExporter.Sample/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmExporter.Sample/Program.cs -------------------------------------------------------------------------------- /tests/OpenQasmExporter.Sample/SampleExporterMagic.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmExporter.Sample/SampleExporterMagic.ipynb -------------------------------------------------------------------------------- /tests/OpenQasmExporter.Tests/OpenQasmExporter.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmExporter.Tests/OpenQasmExporter.Tests.csproj -------------------------------------------------------------------------------- /tests/OpenQasmExporter.Tests/Test.qs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmExporter.Tests/Test.qs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/End2EndTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/End2EndTest.cs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/FirstLetterToUpperCaseTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/FirstLetterToUpperCaseTest.cs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/IndexedCallTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/IndexedCallTest.cs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/OpenQasmReader.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/OpenQasmReader.Tests.csproj -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/ParseApplicationTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/ParseApplicationTest.cs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/ParseBarrierTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/ParseBarrierTest.cs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/ParseCalculationTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/ParseCalculationTest.cs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/ParseConditionTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/ParseConditionTest.cs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/ParseIncludeTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/ParseIncludeTest.cs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/ParseOpenQasmHeaderTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/ParseOpenQasmHeaderTest.cs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Test/5qubit1.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Test/5qubit1.qasm -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Test/CNot.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Test/CNot.qasm -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Test/Gates.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Test/Gates.qasm -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Test/Hadamard.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Test/Hadamard.qasm -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Test/bv3.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Test/bv3.qasm -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Test/hid3.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Test/hid3.qasm -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Test/marg5.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Test/marg5.qasm -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Test/toff6.qasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Test/toff6.qasm -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/TokenizerTest.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/TokenizerTest.cs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Validate/Bv3.qs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Validate/Bv3.qs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Validate/CNot.qs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Validate/CNot.qs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Validate/FiveQubit1.qs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Validate/FiveQubit1.qs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Validate/Gates.qs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Validate/Gates.qs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Validate/Hadamard.qs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Validate/Hadamard.qs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Validate/Hid3.qs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Validate/Hid3.qs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Validate/Marg5.qs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Validate/Marg5.qs -------------------------------------------------------------------------------- /tests/OpenQasmReader.Tests/Validate/Toff6.qs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qsharp-community/qsharp-integrations/HEAD/tests/OpenQasmReader.Tests/Validate/Toff6.qs --------------------------------------------------------------------------------