---
title: MCXSynthesisNCleanM15 (v1.3)
description: API reference for qiskit.transpiler.passes.synthesis.hls_plugins.MCXSynthesisNCleanM15 in qiskit v1.3
source: https://quantum.cloud.ibm.com/docs/en/api/qiskit/1.3/qiskit.transpiler.passes.synthesis.hls_plugins.MCXSynthesisNCleanM15
---

# MCXSynthesisNCleanM15

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

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.3/qiskit/transpiler/passes/synthesis/hls_plugins.py#L984-L1024)

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

Synthesis plugin for a multi-controlled X gate based on the paper by Maslov (2016).

See \[1] for details.

This plugin name is :`mcx.n_clean_m15` which can be used as the key on an [`HLSConfig`](/docs/api/qiskit/1.3/qiskit.transpiler.passes.HLSConfig "qiskit.transpiler.passes.HLSConfig") object to use this method with [`HighLevelSynthesis`](/docs/api/qiskit/1.3/qiskit.transpiler.passes.HighLevelSynthesis "qiskit.transpiler.passes.HighLevelSynthesis").

For a multi-controlled X gate with $k\ge 3$ control qubits this synthesis method requires $k - 2$ additional clean auxiliary qubits. The synthesized circuit consists of $2 * k - 1$ qubits and at most $6 * k - 6$ CX gates.

The plugin supports the following plugin-specific options:

- num\_clean\_ancillas: The number of clean auxiliary qubits available.

**References**

1. Maslov., Phys. Rev. A 93, 022311 (2016), [arXiv:1508.03273](https://arxiv.org/pdf/1508.03273)

## Methods

### run

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

[GitHub](https://github.com/Qiskit/qiskit/tree/stable/1.3/qiskit/transpiler/passes/synthesis/hls_plugins.py#L1006-L1024)

Run synthesis for the given MCX gate.
