Skip to content

Commit

Permalink
Fixing testing vestiges and some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pediejo committed Sep 5, 2024
1 parent 63c193d commit 398bf2d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions examples/ex_1_from_qasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,4 @@ def main(file_name):

if __name__ == "__main__":
current_directory = os.path.dirname(__file__)
# main(current_directory + "/data/single_qubit_clifford_circuit.qasm")
main(current_directory + "/data/ghz_circuit.qasm")
# main(current_directory + "/data/single_rotation.qasm")
2 changes: 1 addition & 1 deletion examples/ex_2_time_evolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def main():
algorithm = qsp_time_evolution_algorithm(operator, evolution_time, 1e-3)

# Transpile the circuit to a Clifford+T circuit
# cliff_t_algorithm = algorithm.transpile_to_clifford_t()
cliff_t_algorithm = algorithm.transpile_to_clifford_t()
cliff_t_algorithm = algorithm
print("Circuit generation time:", t_info.total)
print("n qubits in circuit:", cliff_t_algorithm.program.subroutines[0].n_qubits)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ def distributed_graph_creation(
if verbose:
print("Transferring Data to Julia...")

if logical_architecture_name == "Time":
print("deeper")
breakpoint()

return circuit_compiler(circuit, logical_architecture_name, optimization, verbose)


Expand Down

0 comments on commit 398bf2d

Please sign in to comment.