qat.purr.backends.echo module
- class EchoEngine(model=None, startup_engine=True, max_instruction_len=200000)
Bases:
QuantumExecutionEngine
A target machine that just returns default values. Primarily used for testing and no-backend situations.
- optimize(instructions)
Runs optimization passes specific to this hardware.
- run_calibrations(qubits_to_calibrate=None)
- add_direction_couplings_to_hardware(model, connectivity)
- apply_setup_to_hardware(hw, qubit_count=4, connectivity=None)
Apply the default echo hardware setup to the passed-in hardware.
- generate_connectivity(con_type, qubit_count)
- get_default_echo_hardware(qubit_count=4, connectivity=None)
Generate a default echo target optionally providing the type of connectivity. Either you pass a pre-defined connectivity as defined in the Connectivity enum or a specific connectivity list of which qubits connect to which.
- Return type: