anchor.diff:      })
     ];
   
  +  postPatch = ''
  +    substituteInPlace requirements.txt \
  +      --replace "freezegun~=0.3.15" "freezegun" \
  +      --replace "matplotlib~=3.0" "matplotlib" \
  +      --replace "networkx~=2.4" "networkx" \
  +      --replace "numpy~=1.16, < 1.19" "numpy" \
  +      --replace "protobuf~=3.12.0" "protobuf"
  +  '';
  +
     propagatedBuildInputs = [
       freezegun
       google_api_core
  
positive.code:   meta = with lib; {
      description = "A framework for creating, editing, and invoking Noisy Intermediate Scale Quantum (NISQ) circuits.";
      homepage = "https://github.com/quantumlib/cirq";
      license = licenses.asl20;
      maintainers = with maintainers; [ drewrisinger ];
    };
  
negative.code: 
    pytestFlagsArray = [
      "--ignore=dev_tools"  # Only needed when developing new code, which is out-of-scope
      "--benchmark-disable" # Don't need to run benchmarks when packaging.
    ];
    disabledTests = [
      "test_convert_to_ion_gates" # fails on some systems due to rounding error, 0.75 != 0.750...2
    ] ++ lib.optionals stdenv.isAarch64 [
      # Seem to fail due to math issues on aarch64?
      "expectation_from_wavefunction"
  