Skip to content
Merged
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
4 changes: 2 additions & 2 deletions qiskit/dagcircuit/dagcircuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ def compose(self, other, qubits=None, clbits=None, front=False, inplace=True):
for gate, cals in other.calibrations.items():
dag._calibrations[gate].update(cals)

# Ensure that the error raised here is a `DAGCircuitError` for backwards compatiblity.
# Ensure that the error raised here is a `DAGCircuitError` for backwards compatibility.
def _reject_new_register(reg):
raise DAGCircuitError(f"No register with '{reg.bits}' to map this expression onto.")

Expand Down Expand Up @@ -1204,7 +1204,7 @@ def substitute_node_with_dag(self, node, input_dag, wires=None, propagate_condit
the operation within ``node`` is propagated to each node in the ``input_dag``. If
``False``, then the ``input_dag`` is assumed to faithfully implement suitable
conditional logic already. This is ignored for :class:`.ControlFlowOp`\\ s (i.e.
treated as if it is ``False``); replacements of those must already fulfil the same
treated as if it is ``False``); replacements of those must already fulfill the same
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, I think the single "l" is more common in UK English, while two "l"s is used in US English. But, we use US English for Qiskit so it's fine to change this just in the interest of consistency even though both are valid.

conditional logic or this function would be close to useless for them.

Returns:
Expand Down