forked from NVIDIA/cuda-quantum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQIRAttributeNames.h
More file actions
29 lines (23 loc) · 1.48 KB
/
QIRAttributeNames.h
File metadata and controls
29 lines (23 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/****************************************************************-*- C++ -*-****
* Copyright (c) 2022 - 2025 NVIDIA Corporation & Affiliates. *
* All rights reserved. *
* *
* This source code and the accompanying materials are made available under *
* the terms of the Apache License 2.0 which accompanies this distribution. *
******************************************************************************/
#pragma once
/// This file provides some common QIR attribute names for use in code gen.
namespace cudaq::opt {
static constexpr const char QIRRegisterNameAttr[] = "registerName";
static constexpr const char QIREntryPointAttrName[] = "entry_point";
static constexpr const char QIRProfilesAttrName[] = "qir_profiles";
static constexpr const char QIROutputLabelingSchemaAttrName[] =
"output_labeling_schema";
static constexpr const char QIROutputNamesAttrName[] = "output_names";
static constexpr const char QIRRequiredQubitsAttrName[] = "requiredQubits";
static constexpr const char QIRRequiredResultsAttrName[] = "requiredResults";
static constexpr const char QIRIrreversibleFlagName[] = "irreversible";
static constexpr const char StartingOffsetAttrName[] = "StartingOffset";
static constexpr const char ResultIndexAttrName[] = "ResultIndex";
static constexpr const char MzAssignedNameAttrName[] = "MzAssignedName";
} // namespace cudaq::opt