-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Refactor] Rename "DAG" to "CircuitSeq" (#61)
* [Refactor] Rename "DAG" to "CircuitSeq" * fix compilation error
- Loading branch information
1 parent
8a29479
commit 2e13eb7
Showing
50 changed files
with
1,901 additions
and
1,863 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
src/quartz/dag/daghyperedge.cpp → src/quartz/circuitseq/circuitgate.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#pragma once | ||
|
||
#include "../gate/gate.h" | ||
#include "../utils/utils.h" | ||
|
||
#include <vector> | ||
|
||
namespace quartz { | ||
|
||
class CircuitWire; | ||
|
||
/** | ||
* A gate in the circuit. | ||
* Stores the gate type, input and output information. | ||
*/ | ||
class CircuitGate { | ||
public: | ||
int get_min_qubit_index() const; | ||
std::vector<CircuitWire *> input_wires; // Include parameters! | ||
std::vector<CircuitWire *> output_wires; | ||
|
||
Gate *gate; | ||
}; | ||
} // namespace quartz |
Oops, something went wrong.