deltakit.explorer.qpu.QPU.compile_circuit#
- QPU.compile_circuit(circuit: Circuit, remove_paulis: bool = True) Circuit#
Compile the supplied circuit so that it uses the QPU’s native gates.
- Parameters:
circuit (Circuit) – Circuit to be compiled.
remove_paulis (bool, optional) – Whether to remove Pauli gates from the circuit. This should be set to False if, for example, there is a desire to prepare a specific initial state which requires Pauli gates. By default, True.
- Returns:
Compiled circuit.
- Return type: