mqt.ddsim.target

Utilities for constructing a DDSIM target.

Module Contents

class DDSIMTargetBuilder[source]

Class for building DDSIM targets.

classmethod add_0q_gates(target: Target) None[source]

Add 0-qubit gates to the target.

classmethod add_1q_clifford_gates(target: Target) None[source]

Add 1-qubit Clifford gates to the target.

classmethod add_1q_gates(target: Target) None[source]

Add 1-qubit gates to the target.

classmethod add_2q_controlled_clifford_gates(target: Target) None[source]

Add 2-qubit controlled Clifford gates to the target.

classmethod add_2q_controlled_gates(target: Target) None[source]

Add 2-qubit controlled gates to the target.

classmethod add_2q_non_controlled_clifford_gates(target: Target) None[source]

Add 2-qubit non-controlled Clifford gates to the target.

classmethod add_2q_non_controlled_gates(target: Target) None[source]

Add 2-qubit non-controlled gates to the target.

classmethod add_2q_gates(target: Target) None[source]

Add 2-qubit gates to the target.

classmethod add_3q_gates(target: Target) None[source]

Add 3-qubit gates to the target.

classmethod add_multi_qubit_gates(target: Target) None[source]

Add multi-qubit gates to the target.

classmethod add_measure(target: Target) None[source]

Add a measure instruction to the target.

classmethod add_reset(target: Target) None[source]

Add a reset instruction to the target.

classmethod add_non_unitary_operations(target: Target) None[source]

Add non-unitary operations to the target.

classmethod add_barrier(target: Target) None[source]

Add a barrier instruction to the target.