interpreter.planar_clock package

class interpreter.planar_clock.PlanarClockInterpreter

Bases: Interpreter

The interpreter built based on Section 5 (2-local) from this paper: https://arxiv.org/abs/quant-ph/0405098.

run(gate_methods: list[list[SingletonGate]], num_shots=1024) dict

Convert and run the circuit.

Parameters:
  • qc (QuantumCircuit) – Quantum circuit to run.

  • num_shots (int, optional) – Number of shots to run the circuit for. Defaults to 1024.

Returns:

Results without interpretation, since this is only partially finished

Return type:

dict