forked from NVIDIA/cuda-quantum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQuakeToExecMgr.h
More file actions
25 lines (20 loc) · 1.07 KB
/
QuakeToExecMgr.h
File metadata and controls
25 lines (20 loc) · 1.07 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
/****************************************************************-*- 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
#include "cudaq/Optimizer/Dialect/CC/CCTypes.h"
namespace mlir {
class RewritePatternSet;
class TypeConverter;
} // namespace mlir
namespace cudaq::opt {
cc::PointerType getCudaqQubitType(mlir::MLIRContext *context);
cc::StructType getCudaqQubitSpanType(mlir::MLIRContext *context);
void populateQuakeToCCPatterns(mlir::TypeConverter &typeConverter,
mlir::RewritePatternSet &patterns);
void populateQuakeToCCPrepPatterns(mlir::RewritePatternSet &patterns);
} // namespace cudaq::opt