Skip to content

Commit 3992fed

Browse files
Pengyu/bug fix (#164)
* remove outdated assertion * Update src/quartz/circuitseq/circuitgate.cpp Retain the assertion after an update. Co-authored-by: Mingkuan Xu <[email protected]> * Fix a bug constructing new graph from a existing one --------- Co-authored-by: Mingkuan Xu <[email protected]>
1 parent a2558a6 commit 3992fed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/quartz/tasograph/tasograph.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ Graph::Graph(const Graph &graph) {
183183
pos_2_logical_qubit = graph.pos_2_logical_qubit;
184184
inEdges = graph.inEdges;
185185
outEdges = graph.outEdges;
186+
param_idx = graph.param_idx;
186187
}
187188

188189
std::unique_ptr<CircuitSeq> Graph::to_circuit_sequence() const {

0 commit comments

Comments
 (0)