Skip to content

Commit

Permalink
fix docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
shinich1 committed Nov 4, 2024
1 parent 5463df7 commit 77c3984
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 85 deletions.
83 changes: 0 additions & 83 deletions examples/pattern_fragments.py

This file was deleted.

2 changes: 1 addition & 1 deletion examples/qft_with_tn.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def qft(circuit, n):
qft(circuit, n)

# standardize pattern
pattern = circuit.transpile(opt=True).pattern
pattern = circuit.transpile().pattern
pattern.standardize()
pattern.shift_signals()
nodes, edges = pattern.get_graph()
Expand Down
2 changes: 1 addition & 1 deletion examples/qnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ def fit(self, x, y, maxiter=5):

qnn = QNN(n_qubits, n_layers, n_features)
circuit = qnn.data_reuploading_circuit(input_params, params)
pattern = circuit.transpile(opt=False).pattern
pattern = circuit.transpile().pattern
pattern.standardize()
pattern.shift_signals()

Expand Down

0 comments on commit 77c3984

Please sign in to comment.