qbraid_qir.cirq.BasicCirqVisitor
- class BasicCirqVisitor(initialize_runtime=True, record_output=True)[source]
A visitor for basic cirq.Circuit elements.
This class is designed to traverse and interact with elements in a quantum circuit.
- Parameters:
initialize_runtime (bool) – If True, quantum runtime will be initialized. Defaults to True.
record_output (bool) – If True, output of the circuit will be recorded. Defaults to True.
Methods
__init__
([initialize_runtime, record_output])finalize
()ir
()record_output
(module)visit_cirq_module
(module)visit_operation
(operation)visit_register
(qids)Attributes
entry_point