class QPanda::CrossEntropyBenchmarking
Overview
use cross entropy benchmarking (XEB) to calibrate general single- and two-qubit gates More...
Detailed Documentation
use cross entropy benchmarking (XEB) to calibrate general single- and two-qubit gates
Methods
calculate xeb fidelity
Parameters:
GateType |
gate type for calculating fidelity, must be double gate |
Qubit* |
qubit0 |
Qubit* |
qubit1 , Must be adjacent to qubit0 |
const |
std::vector<int>& the size of each layer |
int |
number of circuits of each layer |
int |
measure shot number |
Returns:
std::map<int, double> xeb result of each layer