Unverified Commit 61b96424 authored by Mccaskey, Alex's avatar Mccaskey, Alex Committed by GitHub
Browse files

Merge pull request #232 from tnguyen-ornl/tnguyen/fix-mac-build

Fixed Clang build
parents 64588684 ee0259d8
Pipeline #168543 passed with stage
in 64 minutes and 2 seconds
......@@ -214,8 +214,9 @@ std::pair<bool, xacc::HeterogeneousMap> MirrorCircuitValidator::validate(
std::vector<double> trial_success_probs;
auto provider = xacc::getIRProvider("quantum");
for (int i = 0; i < n_trials; ++i) {
auto [mirror_circuit, expected_result] =
qcor::MirrorCircuitValidator::createMirrorCircuit(program);
auto mirror_data = qcor::MirrorCircuitValidator::createMirrorCircuit(program);
auto mirror_circuit = mirror_data.first;
auto expected_result = mirror_data.second;
const std::string expectedBitString = [&]() {
std::string bitStr;
if (qpu->getBitOrder() == xacc::Accelerator::BitOrder::MSB) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment