MCXSynthesis2CleanKG24
class qiskit.transpiler.passes.synthesis.hls_plugins.MCXSynthesis2CleanKG24
Bases: HighLevelSynthesisPlugin
Synthesis plugin for a multi-controlled X gate based on the paper by Khattar and Gidney (2024).
See [1] for details.
The plugin name is :mcx.2_clean_kg24
which can be used as the key on an HLSConfig
object to use this method with HighLevelSynthesis
.
For a multi-controlled X gate with control qubits this synthesis method requires additional clean ancillary qubits. The synthesized circuit consists of qubits and at most CX gates.
The plugin supports the following plugin-specific options:
- num_clean_ancillas: The number of clean ancillary qubits available.
References
1. Khattar and Gidney, Rise of conditionally clean ancillae for optimizing quantum circuits arXiv:2407.17966
Methods
run
run(high_level_object, coupling_map=None, target=None, qubits=None, **options)
Run synthesis for the given MCX gate.