roqoqo_qasm/lib.rs
1// Copyright © 2021-2023 HQS Quantum Simulations GmbH. All Rights Reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
4// in compliance with the License. You may obtain a copy of the License at
5//
6// http://www.apache.org/licenses/LICENSE-2.0
7//
8// Unless required by applicable law or agreed to in writing, software distributed under the
9// License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
10// express or implied. See the License for the specific language governing permissions and
11// limitations under the License.
12
13#![allow(missing_docs)]
14#![warn(rustdoc::private_intra_doc_links)]
15#![warn(rustdoc::missing_crate_level_docs)]
16#![warn(rustdoc::missing_doc_code_examples)]
17#![warn(rustdoc::private_doc_tests)]
18#![deny(missing_debug_implementations)]
19
20//! # roqoqo-qasm
21//!
22//! QASM interface for qoqo.
23//!
24//! Translates qoqo operations and circuits to QASM operations via the interface, and Create a Qasm file with QasmBackend.
25
26extern crate pest;
27#[macro_use]
28extern crate pest_derive;
29
30mod backend;
31pub use backend::*;
32mod interface;
33pub use interface::*;
34mod parser;
35pub use parser::*;
36mod variable_gatherer;
37pub use variable_gatherer::*;