// ========================================================================== //
// Copyright (c) 2022 - 2026 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.   //
// ========================================================================== //

module {
  cc.arg_subst[0] {
    %0 = quake.materialize_state @num_qubits, @init : !cc.ptr<!quake.state>
  }
  func.func @init(%arg0: i64, %arg1: !quake.veq<?>) -> !quake.veq<?> {
    return %arg1 : !quake.veq<?>
  }
  func.func @num_qubits(%arg0: i64) -> i64 {
    return %arg0 : i64
  }
}