qcs_api_client_grpc/gen/models.translation.rs
1// Copyright 2023 Rigetti Computing
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15
16// This file is @generated by prost-build.
17/// Information about the result of Quil translation that may be useful for the client,
18/// but which is not needed for execution of the translated `ControllerJob`.
19#[derive(Clone, PartialEq, ::prost::Message)]
20pub struct QuilTranslationMetadata {
21 /// Mapping of (Quil memory address as string) to (readout stream)
22 /// This allows a Quil program author to write and execute `MEASURE 0 ro`,
23 /// while being able to interpret the readout results for one of the post-processed
24 /// readout streams as representing the result of the `MEASURE`.
25 #[prost(map = "string, string", tag = "1")]
26 pub readout_mappings: ::std::collections::HashMap<
27 ::prost::alloc::string::String,
28 ::prost::alloc::string::String,
29 >,
30}
31