- class BConfig(backend, indicator=True)¶
This class is used to create a GHZ circuit with parallellized CNOT gates to increase fidelity
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
This function creates an MQC circuit with n qubits, where the middle phase rotation around the z axis is by delta
Get a parametrized MQC circuit.
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 a parametrized PO circuit.
Get simple GHZ circuit with measurement
Creates a measurement circuit that can toggle between measuring the control qubit or measuring all qubits.
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].