Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion projectq/libs/revkit/_control_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def __or__(self, qubits):
"provided qubits")

# convert reversible circuit to ProjectQ code and execute it
_exec(revkit.write_projectq(log=True)["contents"], qs)
_exec(revkit.to_projectq(mct=True), qs)

def _check_function(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion projectq/libs/revkit/_permutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def __or__(self, qubits):
self.kwargs.get("synth", revkit.tbs)()

# convert reversible circuit to ProjectQ code and execute it
_exec(revkit.write_projectq(log=True)["contents"], qs)
_exec(revkit.to_projectq(mct=True), qs)

def _check_permutation(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion projectq/libs/revkit/_phase.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def __or__(self, qubits):
"provided qubits")

# convert reversible circuit to ProjectQ code and execute it
_exec(revkit.write_projectq(log=True)["contents"], qs)
_exec(revkit.to_projectq(mct=True), qs)

def _check_function(self):
"""
Expand Down