Sequential Quantum Gate Decomposer
v1.9.3
Powerful decomposition of general unitarias into one- and two-qubit gates gates
tmp2db82vtv
squander
src-cpp
common
include
mpi_base.h
Go to the documentation of this file.
1
/*
2
Created on Fri Jun 26 14:13:26 2020
3
Copyright 2020 Peter Rakyta, Ph.D.
4
5
Licensed under the Apache License, Version 2.0 (the "License");
6
you may not use this file except in compliance with the License.
7
You may obtain a copy of the License at
8
9
http://www.apache.org/licenses/LICENSE-2.0
10
11
Unless required by applicable law or agreed to in writing, software
12
distributed under the License is distributed on an "AS IS" BASIS,
13
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
See the License for the specific language governing permissions and
15
limitations under the License.
16
17
18
@author: Peter Rakyta, Ph.D.
19
*/
24
#ifndef MPIBASE_H
25
#define MPIBASE_H
26
27
#include <iostream>
28
29
30
#ifdef __MPI__
31
#include <mpi.h>
32
#endif // MPI
33
37
class
mpi_base
{
38
39
protected
:
40
41
42
#ifdef __MPI__
43
int
world_size
;
46
int
current_rank;
47
#endif
48
49
50
public
:
51
55
mpi_base
();
56
57
58
};
59
60
61
62
63
64
#endif
mpi_base::mpi_base
mpi_base()
Nullary constructor of the class.
Definition:
mpi_base.cpp:29
mpi_base
A class containing data on the current MPI process.
Definition:
mpi_base.h:37
test_Groq.world_size
world_size
Definition:
test_Groq.py:31
Generated on Sat Jul 12 2025 07:28:11 for Sequential Quantum Gate Decomposer by
1.8.13