AccreditationCircuits.target_circuit

AccreditationCircuits.target_circuit(target_circ, two_qubit_gate='cx', coupling_map=None)[source]

Load target circuit in to class, and parse into layers

Parameters
  • target_circ (QuantumCircuit) – a qiskit circuit to accredit

  • two_qubit_gate (string) – a flag as to which 2 qubit gate to compile with, can be cx or cz

  • coupling_map (list) – some particular device topology as list of list (e.g. [[0,1],[1,2],[2,0]])