# BConfig¶

class BConfig(backend, indicator=True)[Quellcode]

Bases: object

This class is used to create a GHZ circuit with parallellized CNOT gates to increase fidelity

Methods

 get_ghz_layout Feeds the Tier Dict of the backend to create a basic qiskit GHZ circuit with no measurement; :type n: int :param n: number of qubits :type transpiled: bool :param transpiled: toggle on/off transpilation - useful for tomography :type barriered: bool :param barriered: yes/no whether to barrier each step of CNOT gates get_ghz_mqc This function creates an MQC circuit with n qubits, where the middle phase rotation around the z axis is by delta get_ghz_mqc_para Get a parametrized MQC circuit. get_ghz_po This function creates an Parity Oscillation circuit with n qubits, where the middle superposition rotation around the x and y axes is by delta get_ghz_po_para Get a parametrized PO circuit. get_ghz_simple Get simple GHZ circuit with measurement get_measurement_circ Creates a measurement circuit that can toggle between measuring the control qubit or measuring all qubits. get_tier_dict Take the nodes of the BConfig to create a Tier Dictionary, where keys are the steps in the process, and the values are the connections following pattern of: [controlled qubit, NOT qubit].