microsoft/qdk

Public

mirrored fromhttps://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
iadavis/pipeline-issue-debugging

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

source/compiler/qsc/src/lib.rs

89lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4pub mod codegen;
5pub mod compile;
6pub mod error;
7pub mod incremental;
8pub mod interpret;
9pub mod location;
10pub mod packages;
11
12pub use qsc_formatter::formatter;
13
14pub use qsc_frontend::compile::{CompileUnit, PackageStore};
15
16pub mod resolve {
17 pub use qsc_frontend::resolve::{
18 GlobalScope, Local, Locals, NameKind, Res, iter_valid_items, path_as_field_accessor,
19 };
20}
21
22pub mod fir {
23 pub use qsc_fir::{fir::*, *};
24}
25
26pub mod hir {
27 pub use qsc_hir::{hir::*, *};
28}
29
30pub mod ast {
31 pub use qsc_ast::{ast::*, *};
32}
33
34pub mod project {
35 pub use qsc_project::{
36 DirEntry, EntryType, Error, FileSystem, Manifest, ManifestDescriptor, PackageCache,
37 PackageGraphSources, ProjectType,
38 };
39}
40
41pub use qsc_data_structures::{
42 functors::FunctorApp, language_features::LanguageFeatures, namespaces::*, source::*,
43 span::Span, target::TargetCapabilityFlags,
44};
45
46pub use qsc_passes::{PackageType, PassContext, lower_hir_to_fir};
47
48pub mod line_column {
49 pub use qsc_data_structures::line_column::{Encoding, Position, Range};
50}
51
52pub use qsc_eval::{
53 backend::{Backend, SparseSim},
54 noise::PauliNoise,
55 state::{
56 fmt_basis_state_label, fmt_complex, format_state_id, get_matrix_latex, get_phase,
57 get_state_latex,
58 },
59 val::Result as BackendResult,
60};
61
62pub mod linter {
63 pub use qsc_linter::{
64 GroupConfig, LintConfig, LintKind, LintLevel, LintOrGroupConfig, run_lints,
65 };
66}
67
68pub use qsc_doc_gen::{display, generate_docs};
69
70pub mod circuit {
71 pub use qsc_circuit::{
72 CURRENT_VERSION, Circuit, CircuitGroup, TracerConfig,
73 circuit_to_qsharp::circuits_to_qsharp, json_to_circuit::json_to_circuits, operations::*,
74 };
75}
76
77pub mod parse {
78 pub use qsc_parse::{completion, top_level_nodes};
79}
80
81pub mod partial_eval {
82 pub use qsc_partial_eval::Error;
83}
84
85pub mod target {
86 pub use qsc_data_structures::target::Profile;
87}
88
89pub mod openqasm;
90