---
title: IntComparatorSynthesisDefault (v2.1)
description: API reference for qiskit.transpiler.passes.synthesis.hls_plugins.IntComparatorSynthesisDefault in qiskit v2.1
source: https://quantum.cloud.ibm.com/docs/en/api/qiskit/2.1/qiskit.transpiler.passes.synthesis.hls_plugins.IntComparatorSynthesisDefault
---

# IntComparatorSynthesisDefault

*class* `qiskit.transpiler.passes.synthesis.hls_plugins.IntComparatorSynthesisDefault`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/2.1/qiskit/transpiler/passes/synthesis/hls_plugins.py#L1525-L1541)

Bases: [`HighLevelSynthesisPlugin`](/docs/api/qiskit/2.1/qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin "qiskit.transpiler.passes.synthesis.plugin.HighLevelSynthesisPlugin")

The default synthesis for `IntegerComparatorGate`.

Currently this is only supporting an ancilla-based decomposition.

## Methods

### run

`run(high_level_object, coupling_map=None, target=None, qubits=None, **options)`

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/2.1/qiskit/transpiler/passes/synthesis/hls_plugins.py#L1531-L1541)

Run synthesis for the given Operation.

**Parameters**

- **high\_level\_object** ([*Operation*](/docs/api/qiskit/2.1/qiskit.circuit.Operation "qiskit.circuit.Operation")) – The Operation to synthesize to a [`DAGCircuit`](/docs/api/qiskit/2.1/qiskit.dagcircuit.DAGCircuit "qiskit.dagcircuit.DAGCircuit") object.
- **coupling\_map** ([*CouplingMap*](/docs/api/qiskit/2.1/qiskit.transpiler.CouplingMap "qiskit.transpiler.CouplingMap")) – The coupling map of the backend in case synthesis is done on a physical circuit.
- **target** ([*Target*](/docs/api/qiskit/2.1/qiskit.transpiler.Target "qiskit.transpiler.Target")) – A target representing the target backend.
- **qubits** ([*list*](https://docs.python.org/3/library/stdtypes.html#list)) – List of qubits over which the operation is defined in case synthesis is done on a physical circuit.
- **options** – Additional method-specific optional kwargs.

**Returns**

**The quantum circuit representation of the Operation**

when successful, and `None` otherwise.

**Return type**

[QuantumCircuit](/docs/api/qiskit/2.1/qiskit.circuit.QuantumCircuit "qiskit.circuit.QuantumCircuit")
